Software Alternatives & Reviews

Handling variable-length Kafka tasks using Python

Apache Kafka Protobuf
  1. Apache Kafka is an open-source message broker project developed by the Apache Software Foundation written in Scala.
    Pricing:
    • Open Source
    Let's say you have a service that takes customers' requests, distributes them as events amongst several workers, waits for the workers to perform a long-running process for each request, and gathers the results to send back to customers. If you intend to use Apache Kafka as the medium to populate events and you are not careful, chances are you are going to encounter a certain predicament: Your requests will be processed more than once by different workers!

    #Stream Processing #Data Integration #ETL 120 social mentions

  2. Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.
    Pricing:
    • Open Source
    This implementation is not meant to be bug-free and production-ready and is just a glimpse into what the proposed solution might look like. Additionally, we assume the producer application is already in place and produces events. The consumer application receives events as they are produced, process them, commits them on Kafka, and sends a new event containing the results to a separate topic to inform the producer of the result of the process. We also use Protocol Buffers to serialize our communication.

    #Mobile Apps #Configuration Management #Software Development 82 social mentions

Discuss: Handling variable-length Kafka tasks using Python

Log in or Post with