Skip to content
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

Add support of pulsar-kafka-adapter for kafka-0.8 api #4797

Merged
merged 6 commits into from
Aug 6, 2019

Conversation

rdhabalia
Copy link
Contributor

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.

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
@rdhabalia rdhabalia added this to the 2.5.0 milestone Jul 24, 2019
@rdhabalia rdhabalia self-assigned this Jul 24, 2019
Copy link
Member

@sijie sijie left a 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.

@rdhabalia
Copy link
Contributor Author

@sijie
I have already added PulsarKafkaProducerTest, PulsarKafkaConsumerTest, KafkaProducerConsumerTest, KafkaProducerSimpleConsumerTest which tests kafka producer, high level and low-level consumers. However, I will add api tests as well into separate module.

@sijie
Copy link
Member

sijie commented Jul 27, 2019

@rdhabalia thanks

@rdhabalia
Copy link
Contributor Author

thank you @vzhikserg for your review. I have addressed all the comments and @sijie added integration-test module along with tests as well.

@rdhabalia
Copy link
Contributor Author

rerun cpp tests

1 similar comment
@rdhabalia
Copy link
Contributor Author

rerun cpp tests

@sijie
Copy link
Member

sijie commented Aug 5, 2019

run cpp tests

@rdhabalia
Copy link
Contributor Author

rerun cpp tests
rerun java8 tests

@sijie
Copy link
Member

sijie commented Aug 6, 2019

run java8 tests

@sijie
Copy link
Member

sijie commented Aug 6, 2019

// flaky tests (#4896 #4895)

run java8 tests

@rdhabalia rdhabalia merged commit 7b185db into apache:master Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants