-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add support of pulsar-kafka-adapter for kafka-0.8 api #4797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
clean up pulsar-kafka adapter add tests add low level consumer add simple consumer corrected pulsar-client-kafka_0_8 fix the module name add batch and partitioned-topic support fix headers add getOffset api support added pulsarOffset request/response clean up
...lsar-client-kafka_0_8/src/main/java/org/apache/kafka/clients/consumer/ConsumerConnector.java
Outdated
Show resolved
Hide resolved
..._0_8/src/main/java/org/apache/kafka/clients/simple/consumer/PulsarTopicMetadataResponse.java
Outdated
Show resolved
Hide resolved
..._0_8/src/main/java/org/apache/kafka/clients/simple/consumer/PulsarTopicMetadataResponse.java
Outdated
Show resolved
Hide resolved
...a_0_8/src/test/java/org/apache/pulsar/client/kafka/test/KafkaProducerSimpleConsumerTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good. but it seems that we didn't add any tests for this wrapper. It would be good if you can add similar tests to pulsar-client-kafka-tests
.
@sijie |
@rdhabalia thanks |
thank you @vzhikserg for your review. I have addressed all the comments and @sijie added integration-test module along with tests as well. |
rerun cpp tests |
1 similar comment
rerun cpp tests |
run cpp tests |
rerun cpp tests |
run java8 tests |
Motivation
Pulsar already supports pulsar-kafka adapter for kafka api with version > 0.9. However, there are users who use legacy-kafka version in their system with large scale and willing to move to pulsar. This PR provides pulsar-kafka adapter for kafka-api-version 0.8.X. So, this adapter can help users in their migration process from kafka-0.8 to pulsar.