Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

KoP 2.9.0 Plan #581

Open
5 of 9 tasks
BewareMyPower opened this issue Jun 18, 2021 · 7 comments
Open
5 of 9 tasks

KoP 2.9.0 Plan #581

BewareMyPower opened this issue Jun 18, 2021 · 7 comments

Comments

@BewareMyPower
Copy link
Collaborator

BewareMyPower commented Jun 18, 2021

KoP 2.8.0 was released on Jun. 18th, it's a milestone that announced KoP is GA (generally available) for production. However, there're still some issues to solve or improve. This issue will list some important tasks.

Main tasks

Important issues

Besides the tasks above, there're some other important issues that have high priority.

@junquero
Copy link

What about supporting Kafka clients > 2.0.0.
I have tested with Apache Kafka 2.3.1 and it works, but it doesn't work with 2.4.0 and beyond.
I'm using latest spring boot with Spring for Apache Kafka and I have had to downgrade to an old version to make it work with KoP, but the best alternative would be not to have to downgrade it.

Therefore, supporting not only old Kafka versions, but also some recent versions (from 2.4.x to 2.6.x) could be a possibility?

@BewareMyPower
Copy link
Collaborator Author

BewareMyPower commented Jun 18, 2021

@junquero There're basic e2e tests for Kafka 1.0~2.6, see

{"kafka-client-1.0.0", Optional.empty(), true, true},
{"kafka-client-1.1.0", Optional.empty(), true, true},
{"kafka-client-2.0.0", Optional.empty(), true, true},
{"kafka-client-2.1.0", Optional.empty(), true, true},
{"kafka-client-2.2.0", Optional.empty(), true, true},
{"kafka-client-2.3.0", Optional.empty(), true, true},
{"kafka-client-2.4.0", Optional.empty(), true, true},
{"kafka-client-2.5.0", Optional.empty(), true, true},
{"kafka-client-2.6.0", Optional.empty(), true, true},
};

We may change the test method for different Kafka client versions. Currently it uses docker images to test, I think we can use a shade plugin later.

Back to your problem, could you give detail reproduce steps? Recently I did the KoP performance tests using Kafka client 2.6.0 and it worked well. See https://github.com/BewareMyPower/openmessaging-benchmark/blob/bewaremypower/deploy-kop/driver-kafka/pom.xml

@BewareMyPower
Copy link
Collaborator Author

BTW, I'm not familiar with Spring Boot :( It's better to reproduce your problem just using a Kafka client.

@junquero
Copy link

junquero commented Jun 18, 2021

I have been able to connect latest kafka client 2.8.0 with KoP 2.8.0.2.
The issue came from the fact that I used the docker image streamnative/platform-localrun which was updated 1 year ago.

I'd like to comment that I took some time to me to realize that when running the KoP in a container, the listeners can't be configured with 127.0.0.1:9092, but with 0.0.0.0:9092 if you want to access the protocol handler from outside the container.

May I suggest to add this hint/clarification in the KoP documentation?

@BewareMyPower
Copy link
Collaborator Author

BewareMyPower commented Jun 30, 2021

@junquero Sorry for the late response. It seems that you've just edited your comment instead of adding a new comment or opening a new issue so that I cannot receive the notification.

For your question, if you're running KoP in a container, please use both kafkaListeners and kafkaAdvertisedListeners, see https://github.com/streamnative/kop/blob/master/docs/configuration.md#listeners. You should configure the external address with kafkaAdvertisedListeners. Though KoP only supports a single advertised listener currently, see #574 for more details.

BTW, if you have other questions, it's better to open a new issue instead of commenting in this issue. But it's welcome to giving your demands in this issue.

@eolivelli
Copy link
Contributor

@junquero
we recently added tests for Kafka 2.8.0 and Kafka 3.0.0 clients.

@eolivelli
Copy link
Contributor

can we add the SchemaRegistry ?
#771

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants