merlimat commented on a change in pull request #1566: Provide unshaded 
pulsar-kafka-client
URL: https://github.com/apache/incubator-pulsar/pull/1566#discussion_r181433714
 
 

 ##########
 File path: site/docs/latest/adaptors/KafkaWrapper.md
 ##########
 @@ -60,6 +60,21 @@ thing that needs to be adjusted is the configuration, to 
make sure to point the
 producers and consumers to Pulsar service rather than Kafka and to use a 
particular
 Pulsar topic.
 
+## Using the Pulsar Kafka compatibility wrapper together with existing kafka 
client.
+
+When migrating from Kafka to Pulsar, the application might have to use the 
original kafka client
+and the pulsar kafka wrapper together during migration. Then you should 
consider using the
+unshaded pulsar kafka client wrapper.
+
+```xml
+<dependency>
+  <groupId>org.apache.pulsar</groupId>
+  <artifactId>pulsar-client-kafka-original</artifactId>
+  <version>{{ site.current_version }}</version>
+</dependency>
+```
+
 
 Review comment:
   If using this dependency, application would just need to change the 
`Producer` class from `org.apache.kafka.clients.producer.KafkaProducer` to 
`org.apache.kafka.clients.producer.PulsarKafkaProducer`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to