Java
General guidelines
Superstream dependency is a replacement for
kafka-clients
dependency.No other
kafka-clients
dependency should run concurrently with the Superstem dependency. The Superstem dependency must be the solekafka-clients
dependency used across different packages in the same pom.xml file.
Replacement example
Let's assume that your application is using both
spring-kafka
andkafka-streams
packages.Your pom.xml should look similar to this:
Both packages are using
kafka-clients
as an internal dependency. We need to exclude it.
Now, you just need to add the right Superstream dependency based on the version you are currently using
A list of all the known packages that are using kafka-clients
and requires exclusion
kafka-clients
and requires exclusionKafka Streams
Kafka Connect
Confluent Schema Registry Client
Confluent Kafka REST
Confluent Kafka Avro Serializer/Deserializer
Spring Kafka
Apache Flink Kafka Connector
Apache Camel Kafka Component
Akka Streams Kafka
Kafka Clients
Last updated