-
Notifications
You must be signed in to change notification settings - Fork 105
Use common apache kafka client #1344
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
base: series/3.x
Are you sure you want to change the base?
Conversation
... by excluding Confluent's version of the kafka client.
But if I'm not mistaken (I use MVN Repository as a source of truth), the main artifact it's already only available in Confluent repo, so excluding it won't prevent you to have it declared, right? Also this is only for the Vulcan integration which I'd dare to say is not what most of the users use 🤔 |
Yes indeed. However, I already declare that I want the open source version in my build, but then fs2-kafka-vulcan declares it wants the confluent version. The latter wins unless I explicitly disable that. It is super annoying.
Does that matter? |
Yes, it matters IMO. Vulkan depends on it, and this means depends on everything transitive. I don't think excluding and reincluding stuff is good (if they depend on their own version I assume is for a good reason). As a user you can force another global version via SBT. I don't think it's the lib responsibility. |
It seems to work fine with the open source version of kafka-client.
I have been unable to find such a reason (I really looked very hard). The best information I could find is this from https://docs.confluent.io/kafka-client/overview.html:
I suspect the only difference is that the confluent client is behind (since its a copy of the apache client). Furthermore, I wonder if the confluent client calls home when you use it. We are not using Confluent's Kafka (I mean the brokers), so I'd rather stay on the latest and freshest kafka-clients, and those are from Apache (with the additional benefit that they are really open source). |
... by excluding Confluent's version of the kafka client and adding an explicit version.
Without this, we'll get Confluent's version which is only available in their maven repository.