pvillard31 opened a new pull request, #11271:
URL: https://github.com/apache/nifi/pull/11271

   # Summary
   
   NIFI-15961 - Add Kafka share-group support to ConsumeKafka
   
   Introduce share-group consumption for ConsumeKafka backed by Kafka 4.2's GA 
share consumer 
([KIP-932](https://cwiki.apache.org/confluence/display/KAFKA/KIP-932%3A+Queues+for+Kafka)).
 A new "Group Type" property selects between the existing classic Consumer 
Group code path (default; preserves all prior behavior) and the new Share Group 
path, and a new "Acknowledgement Mode" property gates per-record vs. implicit 
acknowledgement when the share-group path is selected.
   
   - New KafkaShareConsumerService API contract plus Kafka4ShareConsumerService 
implementation wrapping org.apache.kafka.clients.consumer.ShareConsumer.
   - KafkaConnectionService gains a default getShareConsumerService() so 
third-party connection services remain ABI-compatible and only opt in when they 
support share groups.
   - Kafka3ConnectionService strips the classic-consumer properties rejected by 
ShareConsumerConfig.SHARE_GROUP_UNSUPPORTED_CONFIGS before constructing the 
share consumer.
   - ConsumeKafka.verify() exercises a share-group subscription and releases 
any sampled records back to the share group.
   - Bump the integration-test broker to apache/kafka:4.2.0
   - Add unit tests for the share-consumer service (poll, explicit/implicit 
ack, commit, rollback, close, tombstone handling), the processor's share-group 
selection/verification/ack-mode wiring, and an integration test 
ConsumeKafkaShareGroupIT.
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-00000`
   - Pull Request commit message starts with Apache NiFi Jira issue number, as 
such `NIFI-00000`
   - Pull request contains [commits 
signed](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits)
 with a registered key indicating `Verified` status
   
   ### Pull Request Formatting
   
   - Pull Request based on current revision of the `main` branch
   - Pull Request refers to a feature branch with one commit containing changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `./mvnw clean install -P contrib-check`
     - [ ] JDK 21
     - [ ] JDK 25
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to