Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acknowledge.nack() commits the entire batch with a transactional BatchListener #1621

Closed
garyrussell opened this issue Nov 12, 2020 · 0 comments · Fixed by #1622
Closed

Acknowledge.nack() commits the entire batch with a transactional BatchListener #1621

garyrussell opened this issue Nov 12, 2020 · 0 comments · Fixed by #1622

Comments

@garyrussell
Copy link
Contributor

All records are incorrectly added to the ack list.

@garyrussell garyrussell added this to the 2.6.4 milestone Nov 12, 2020
@garyrussell garyrussell self-assigned this Nov 12, 2020
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Nov 12, 2020
Resolves spring-projects#1621

When using transactions, the remaining records in the batch after a `nack()`
were incorrectly added to the commit list.

**I will back-port - conflicts expected**
artembilan pushed a commit that referenced this issue Nov 12, 2020
Resolves #1621

When using transactions, the remaining records in the batch after a `nack()`
were incorrectly added to the commit list.

**I will back-port - conflicts expected**
garyrussell added a commit that referenced this issue Nov 12, 2020
Resolves #1621

When using transactions, the remaining records in the batch after a `nack()`
were incorrectly added to the commit list.

**I will back-port - conflicts expected**
garyrussell added a commit that referenced this issue Nov 12, 2020
Resolves #1621

When using transactions, the remaining records in the batch after a `nack()`
were incorrectly added to the commit list.

**I will back-port - conflicts expected**
garyrussell added a commit that referenced this issue Nov 12, 2020
garyrussell added a commit that referenced this issue Nov 12, 2020
garyrussell added a commit that referenced this issue Nov 12, 2020
Resolves #1621

When using transactions, the remaining records in the batch after a `nack()`
were incorrectly added to the commit list.

**I will back-port - conflicts expected**
garyrussell added a commit that referenced this issue Nov 12, 2020
GH-1621: More back-ported test fixes
garyrussell added a commit that referenced this issue Nov 12, 2020
Remove mock debugging.
garyrussell added a commit that referenced this issue Nov 12, 2020
garyrussell added a commit that referenced this issue Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment