Open LokeshAlamuri opened 2 months ago
What are your 1, 2, 3, 4
?
Different scenarios, or steps, or states of the same scenario?
Isn't this a result of all the changes you have introduced recently?
C0 has thrown error while processing. This would stop the running ConcurrentContainer !!!!
This indeed must not happen. The failure in one child container must not effect all others.
Does it happen even in previous versions, even before your recent changes?
Isn't this a result of all the changes you have introduced recently?
I have not introduced any bugs. Current bug is a different one. It is existing in previous versions also. I have provided JUnit to replicate this scenario. Please review and suggest if this a valid scenario and needs to be fixed.
What are your
1, 2, 3, 4
? Different scenarios, or steps, or states of the same scenario? Isn't this a result of all the changes you have introduced recently?
These are steps to be followed to get the overview of bug. These are not different scenarios. Please let me know, if I have to provide more information regarding this issue.
This bug is not because of my changes.
No problem!
I will need more time to investigate this. We may ask if @sobychacko has some cycles to look into this quicker. Thanks
If you are ok, I will try to fix the issue and provide the PR. I am having some idea on it.
In what version(s) of Spring for Apache Kafka are you seeing this issue?
3.3
Describe the bug
If a ConcurrentContainer is stopped, then the child container should not be allowed to stop ConcurrentContainer. But, there are some scenarios where it is possible.
Scenario:
Concurrency: 2
ConcurrentContainer:: CMain Child containers: C0, C1.
1)
ConcurrentContainer
started.2)
ConcurrentContainer
stopped.3)
ConcurrentContainer
started. This is permitted sincestop
is called before. Nothing wrong here. It should be allowed. Only the practise is not correct.4)
C0
has thrown error while processing. This would stop the runningConcurrentContainer
!!!!To Reproduce
Please suggest if this is a valid scenario.