Skip to content

Conversation

@kmos
Copy link
Member

@kmos kmos commented Dec 30, 2025

@kmos kmos requested review from Naros, jpechane and mfvitale January 8, 2026 10:39
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-api</artifactId>
<scope>provided</scope>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really provided?


import org.apache.kafka.connect.source.SourceRecord;

public interface BatchEvent {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to operate at this level? Can't we extend CapturingEvent class to add commit or similar methods.

Suggested change
public interface BatchEvent {
public interface ComittingCapturingEvent extends CapturingEvent {

private final AtomicInteger isCapturingFilteredEvent = new AtomicInteger(0);

@Capturing(destination = "topic.inventory.products")
public void capture(CapturingEvents<BatchEvent> events) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we take a bit different approach so the user will use somehing like

Suggested change
public void capture(CapturingEvents<BatchEvent> events) {
public void capture(List<CommittedCapturingEvent> events) {

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.

Manage batch processing in Debezium Extensions for Quarkus

2 participants