Build: #122 was successful Changes by Gary Russell

Build result summary

Details

Completed
Duration
3 minutes
Labels
None
Agent
bamboo-17.af.pivotal.io
Revision
56f43a8ea44b220b9a770725a285a62925069525 56f43a8ea44b220b9a770725a285a62925069525
Total tests
92
Successful since
#121 ()

Tests

  • 0 New failures
  • 0 Existing failures
  • 0 Fixed

Code commits

Author Commit Message Commit date
Gary Russell Gary Russell 56f43a8ea44b220b9a770725a285a62925069525 56f43a8ea44b220b9a770725a285a62925069525 GH-1168: Fix sendOffsets in local transaction
Fixes https://github.com/spring-projects/spring-kafka/issues/1168

`sendOffsetsToTransaction` assumed the transaction was started by a
`KafkaTransactionManager` and using `executeInTransaction` failed.

Look for a local transactional producer before checking for a thread-bound transaction.

**cherry-pick to all supported branches**

# Conflicts:
#        spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java

# Conflicts:
#        spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java

# Conflicts:
#        spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java

Jira issues

IssueDescriptionStatus
Unknown Issue TypeGH-1168Could not obtain issue details from Jira