[ https://issues.apache.org/jira/browse/KAFKA-7723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797260#comment-16797260 ]
ASF GitHub Bot commented on KAFKA-7723: --------------------------------------- sweat123 commented on pull request #6026: KAFKA-7723: Support override kafka connect worker api configuration with rest api URL: https://github.com/apache/kafka/pull/6026 ---------------------------------------------------------------- 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: us...@infra.apache.org > Kafka Connect support override worker kafka api configuration with connector > configuration that post by rest api > ---------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-7723 > URL: https://issues.apache.org/jira/browse/KAFKA-7723 > Project: Kafka > Issue Type: Improvement > Components: KafkaConnect > Reporter: laomei > Priority: Minor > Labels: needs-kip > > I'm using kafka sink connect; "auto.offset.reset" is set in > connect-distributed*.properties; > It works for all connector which in one worker; So the consumer will poll > records from latest or earliest; I can not control the auto.offset.reset in > connector configs post with rest api; > So I think is necessary to override worker kafka api configs with connector > configs; > Like this > {code:java} > { > "name": "test", > "config": { > "consumer.auto.offset.reset": "latest", > "consumer.xxx" > "connector.class": "com.laomei.sis.solr.SolrConnector", > "tasks.max": "1", > "poll.interval.ms": "100", > "connect.timeout.ms": "60000", > "topics": "test" > } > } > {code} > We can override kafka consumer auto offset reset in sink connector; -- This message was sent by Atlassian JIRA (v7.6.3#76005)