Skip to content

State commit / cleanup#12

Closed
Guozhang Wang (guozhangwang) wants to merge 8 commits into
confluentinc:streamingfrom
guozhangwang:TaskState
Closed

State commit / cleanup#12
Guozhang Wang (guozhangwang) wants to merge 8 commits into
confluentinc:streamingfrom
guozhangwang:TaskState

Conversation

@guozhangwang

Copy link
Copy Markdown

This is a rebased version of #9:

"1) Task state commit can happen either when user called context.commit() during the processing of a record in any processor, or when the commit interval has reached. In the first case, the task will commit it state including local state store, consumed offset and produced record; in the latter case, the thread will just commit the states of all tasks it owns.

  1. Did not have the threshold on total #. buffered records across tasks, since after chatting to Jason Gustafson (@hachikuji) I feel poll(0)'s overhead is very minimal, and asking users to specify the threshold could be hard since there is already a config for per-partition max buffered records.

  2. Some minor fixes on metrics recording, state cleanup, etc."

@ymatsuda

Copy link
Copy Markdown

Can you pull the latest change from the streaming branch so that it is easy to see your change?

Andrew Egelhofer (andrewegel) pushed a commit that referenced this pull request Nov 16, 2021
List of commits from kafka-broker-plugins:

* Include all transitive dependencies in assembly (#71)
* Add OAuth LoginCallbackHandler for the Kafka server (#72)
* CPKAFKA-1593: Multi-tenant authorizer for CCloud (#66)
* CPKAFKA-1593: Integration tests for multi-tenant authorizer for CCloud (#67)
* CAAS-1960: Implement Phase 3.1 Metrics (#76)
* CAAS-1960: Add authenticated connections and authentication rate metrics per tenant (#77)
* Bump Confluent to 5.2.0-SNAPSHOT, Kafka to 2.2.0-SNAPSHOT
* Topic config constraints (#70)
* Remove redundant import in MultiTenantRequestContext (#79)
* 4.1.x to 5.0.x (#78)
* 5.0.x to 5.1.x (#82)
* CPKAFKA-1408: Add tenant throughput and request quota plugin (#68)
* Improve topic policy checks (#81)
* CPKAFKA-1410: Partition assignor to balance partitions at tenant level (#73)
* CPKAFKA-1694: Add partition throughput percentiles for monitoring (#84)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants