kafka-sample-programs | Sample programs for the Kafka 0.9 API | Pub Sub library
kandi X-RAY | kafka-sample-programs Summary
kandi X-RAY | kafka-sample-programs Summary
Sample programs for the Kafka 0.9 API
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main entry point
- Entry point to the Kafka consumer
- Entry point for testing
kafka-sample-programs Key Features
kafka-sample-programs Examples and Code Snippets
Community Discussions
Trending Discussions on kafka-sample-programs
QUESTION
I am using Kafka v0.10.0.0 and created Producer & Consumer Java code. But code is stuck on producer.send without any exception in logs.
Can anyone please help. Thank in advance.
I am using/modifying "mapr - kakfa sample program". You can look at the full code here. https://github.com/panwars87/kafka-sample-programs
**Important: I changed the kafka-client version to 0.10.0.0 in maven dependencies and running Kafka 0.10.0.0 in my local.
...ANSWER
Answered 2017-Jan-19 at 13:31The code you're running is for a demo of mapR which is not Kafka. MapR claims API compatibility with Kafka 0.9, but even then mapR treats message offsets differently that does Kafka (offsets are byte offsets of messages rather than incremental offsets), etc.. The mapR implementation is also very, very different to say the least. This means that if you're lucky, a Kafka 0.9 app might just happen to run on mapR and vise versa. There is no such guarantee for other releases.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kafka-sample-programs
Support
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