Replies: 1 comment 13 replies
-
I think, if you do that, you will just get a different error ( |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
My spring application setup involves three instances where the Kafka producers and consumers are within the same service. i'm using the
@Transactional
annotation for consumers with a read_committed isolation level (read message + insert into DB + publish output). We are encountering a CommitFailedException when re-deploying to Kubernetes.However, with each deployment in Kubernetes, after creating new pods and before terminating the old ones, we encounter these errors.
It seems this could be related to the
transaction-id-prefix
configuration, causing different transaction IDs for old and new instances.Should we consider removing the randomness from this configuration?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions