You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/08/09 12:24:58 UTC

[GitHub] [kafka] cadonna opened a new pull request, #12497: KAFKA-10199: Expose read only task from state updater

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

   The state updater exposes tasks that are in restoration
   to the stream thread. To ensure that the stream thread
   only accesses the tasks to read from the tasks without
   modifying any internal state, this PR introduces a
   read-only task that throws an exception if the caller
   tries to modify the internal state of a task.
   
   This PR also returns read-only tasks from
   DefaultStateUpdater#getTasks().
   
   
   ### 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] cadonna merged pull request #12497: KAFKA-10199: Expose read only task from state updater

Posted by GitBox <gi...@apache.org>.
cadonna merged PR #12497:
URL: https://github.com/apache/kafka/pull/12497


-- 
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] cadonna commented on pull request #12497: KAFKA-10199: Expose read only task from state updater

Posted by GitBox <gi...@apache.org>.
cadonna commented on PR #12497:
URL: https://github.com/apache/kafka/pull/12497#issuecomment-1213210962

   Failures are unrelated:
   ```
   Build / JDK 8 and Scala 2.12 / org.apache.kafka.clients.consumer.CooperativeStickyAssignorTest.testLargeAssignmentAndGroupWithNonEqualSubscription()
   Build / JDK 8 and Scala 2.12 / org.apache.kafka.clients.consumer.StickyAssignorTest.testLargeAssignmentAndGroupWithNonEqualSubscription()
   Build / JDK 8 and Scala 2.12 / org.apache.kafka.connect.integration.BlockingConnectorTest.testBlockInConnectorStart
   ```


-- 
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] guozhangwang commented on pull request #12497: KAFKA-10199: Expose read only task from state updater

Posted by GitBox <gi...@apache.org>.
guozhangwang commented on PR #12497:
URL: https://github.com/apache/kafka/pull/12497#issuecomment-1210002259

   The failures in `DefaultStateUpdaterTest` seems relevant?


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