piosystems commented on issue #1734:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1734#issuecomment-3888136959

   I faced this same Utils.mkset issue having migrated to kafka 4.1.1. As I did 
not intend to go back to 3.x, I had to do a build for kafka 4.x support as 
follows:
   
   1. git clone https://github.com/apache/camel-kafka-connector.git
   2. cd camel-kafka-connector
   3. In parent/pom.xml, I adjusted some versions/artifactIds to the following 
values  (lookout for where the previous ones are in the pom.xml. Note that 
every kafka_2.12 is changed to kafka_2.13)  ...
           <kafka.version>4.1.1</kafka.version>
           <camel.version>4.17.0</camel.version>
           <camel.kamelet.catalog.version>4.17.0</camel.kamelet.catalog.version>
           <apicurio.registry.version>3.1.7</apicurio.registry.version>
   
          <version.scala.library>2.13.18</version.scala.library>
   
         <artifactId>kafka_2.13</artifactId>
   
   4. In tests/itest-parent/pom.xml, I adjusted artifactIds as well,...
       <artifactId>kafka_2.13</artifactId>
   
   I used Java version: 21.0.10 and Apache Maven 3.8.7 for a successful build 
on Ubuntu 24. 
   
   I hope that this experience will facilitate advancing the 
camel-kafka-connector code base, to officially support kafka 4.x.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to