AcknowledgementCommitCallback (KIP-932) is invoked when acknowledgments are durably persisted broker-side:
void onComplete(Map<TopicIdPartition, Set<Long>>, Exception)
Currently there is no wiring in the share consumer container or ContainerProperties.
Add ContainerProperties.setAcknowledgementCommitCallback(AcknowledgementCommitCallback) and pass it through to the ShareConsumer. Needed when coordinating acknowledgment persistence with external systems (e.g., updating a database only after the broker confirms the ack).