kafka-redistribution-example | system using kafka , consumers are tied to specific
kandi X-RAY | kafka-redistribution-example Summary
kandi X-RAY | kafka-redistribution-example Summary
kafka-redistribution-example is a Go library. kafka-redistribution-example has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
In a system using kafka, consumers are tied to specific partitions. When a key does not exist for a message, the partition is chosen based on a round robin approach. The processing required for each message might not be equal, so a consumer could get unlucky where the round robin distribution just so happens to give that consumer more higher-processing-requirement messages than others. The situation described only makes sense if processing times for messages are a significant amount of time, which is not the case for many kafka use cases. This repository contains example code that showcases one approach to re-distribute work. In this example, the consumer republishes the message in the hopes that another consumer has the capacity to handle it so that the message can be processed sooner. Another approach might be to do manual commit management, but this could have worse time-to-complete for the overloading jobs since the broker would need to wait for the timeout the commit for messages before sending them to another consumer.
In a system using kafka, consumers are tied to specific partitions. When a key does not exist for a message, the partition is chosen based on a round robin approach. The processing required for each message might not be equal, so a consumer could get unlucky where the round robin distribution just so happens to give that consumer more higher-processing-requirement messages than others. The situation described only makes sense if processing times for messages are a significant amount of time, which is not the case for many kafka use cases. This repository contains example code that showcases one approach to re-distribute work. In this example, the consumer republishes the message in the hopes that another consumer has the capacity to handle it so that the message can be processed sooner. Another approach might be to do manual commit management, but this could have worse time-to-complete for the overloading jobs since the broker would need to wait for the timeout the commit for messages before sending them to another consumer.
Support
Quality
Security
License
Reuse
Support
kafka-redistribution-example has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
kafka-redistribution-example has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of kafka-redistribution-example is current.
Quality
kafka-redistribution-example has no bugs reported.
Security
kafka-redistribution-example has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
kafka-redistribution-example is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
kafka-redistribution-example releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kafka-redistribution-example
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kafka-redistribution-example
kafka-redistribution-example Key Features
No Key Features are available at this moment for kafka-redistribution-example.
kafka-redistribution-example Examples and Code Snippets
No Code Snippets are available at this moment for kafka-redistribution-example.
Community Discussions
No Community Discussions are available at this moment for kafka-redistribution-example.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kafka-redistribution-example
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page