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:
[email protected]


Reply via email to