You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "yashmayya (via GitHub)" <gi...@apache.org> on 2023/07/06 11:24:17 UTC

[GitHub] [kafka] yashmayya opened a new pull request, #13967: MINOR: Update connector status metric description to include 'stopped' as a potential value

yashmayya opened a new pull request, #13967:
URL: https://github.com/apache/kafka/pull/13967

   - [KIP-875](https://cwiki.apache.org/confluence/display/KAFKA/KIP-875%3A+First-class+offsets+support+in+Kafka+Connect) introduced a new `STOPPED` state for connectors (also see https://github.com/apache/kafka/pull/13424).
   - This new state is a potential value for the [connector status metric](https://github.com/apache/kafka/blob/4a61b48d3dca81e28b57f10af6052f36c50a05e3/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetricsRegistry.java#L130) that is computed [here](https://github.com/apache/kafka/blob/4a61b48d3dca81e28b57f10af6052f36c50a05e3/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConnector.java#L440) and hence needs to be added to the metric's description.
   - Note that this doesn't need to be done for the task status metric since tasks are shutdown when a connector is stopped (i.e. a connector can be in a stopped state, but a task cannot).
   
   ### 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 to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

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


[GitHub] [kafka] mimaison merged pull request #13967: MINOR: Update connector status metric description to include 'stopped' as a potential value

Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison merged PR #13967:
URL: https://github.com/apache/kafka/pull/13967


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

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

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