You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/04 13:24:13 UTC

[GitHub] [pulsar] sbourkeostk opened a new issue #9480: support auto.offset.reset in kafka connector

sbourkeostk opened a new issue #9480:
URL: https://github.com/apache/pulsar/issues/9480


   **Is your enhancement request related to a problem? Please describe.**
   The kafka connector sets auto.offset.reset to "earliest". This means all old messages from kafka are produced to pulsar. Often is it desirable to start form the present location "latest".
   The option is set after the user config has been loaded so it cannot be changed:
   [source code link](https://github.com/apache/pulsar/blob/master/pulsar-io/kafka/src/main/java/org/apache/pulsar/io/kafka/KafkaAbstractSource.java#L87)
   
   **Describe the solution you'd like**
   Make this an option of the kafka source config.
   
   **Describe alternatives you've considered**
   Setting the option in the consumerConfigProperties of the connector. This is not possible because the source sets the option after the user config has been loaded.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie closed issue #9480: support auto.offset.reset in kafka connector

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9480:
URL: https://github.com/apache/pulsar/issues/9480


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org