[ 
https://issues.apache.org/jira/browse/KAFKA-7723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718427#comment-16718427
 ] 

ASF GitHub Bot commented on KAFKA-7723:
---------------------------------------

sweat123 opened a new pull request #6026: KAFKA-7723: Support override kafka 
connect worker api configuration with rest api
URL: https://github.com/apache/kafka/pull/6026
 
 
   More details https://issues.apache.org/jira/browse/KAFKA-7723
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   

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


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

Reply via email to