-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* DATAGO-67282: NACK Support for Consumer bindings (#270) * DATAGO-67282: Added NACK Support feature, removed ITs related to rebind * DATAGO-67282: Removed stale tests related to rebind * DATAGO-67282: Added IT, Removed Commented Code * DATAGO-67282: Added javadocs * DATAGO-67282: Updated the version in pom. Updated the spring-cloud-dependencies version and sol-jcsmp version * DATAGO-67282: Remove unused consumer binding properties flowPreRebindWaitTimeout, flowRebindBackOffInitialInterval, flowRebindBackOffMaxInterval, flowRebindBackOffMultiplier * Update BOM README for 4.0.0 Release (#274) * DATAGO-72125: Logger change to not print stacktrace. (#275) * DATAGO-72125: Logger changes (#276) * DATAGO-71389: Solace Binder 5.0 version upgrade/migration guide (#277) * DATAGO-67282: Resolve merge conflicts * DATAGO-67282 Resolve Merge Conflicts with master (#281) * Release 3.2.0 (#279) (#280) * DATAGO-67277: Feature to exclude header on consumer binding Co-authored-by: mayur-solace <[email protected]> * DATAGO-67282: Resolve merge conflicts --------- Co-authored-by: Jeffrey D <[email protected]> * Revert "DATAGO-67282 Resolve Merge Conflicts with master (#281)" (#282) This reverts commit 114ab2e. * DATAGO-67282: Update the Spring Boot and Spring Cloud Version (#287) --------- Co-authored-by: mayur-solace <[email protected]>
- Loading branch information
1 parent
3094b7a
commit d7095b9
Showing
53 changed files
with
1,260 additions
and
4,362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 60 additions & 0 deletions
60
...rters/solace-spring-cloud-stream-starter/solace-binder-5.x-migration-guide.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
= Solace PubSub+ Binder 5.0 Migration Guide | ||
|
||
This document is meant to help you migrate your application to Solace PubSub+ Binder 5.0. | ||
|
||
== Upgrade to Solace PubSub+ Binder 5.0 | ||
|
||
Update the binder dependencies, if you are not using any of the impacted features documented below your application should work as it is. | ||
|
||
If your application was using below Consumer Binding features in the previous version, you must read further. | ||
|
||
* xref:README.adoc#_manual_message_acknowledgment[Manual Message Acknowledgment mode] | ||
* Anonymous consumer groups | ||
|
||
Table below tries to summarize what has changed. | ||
|
||
[cols="1m,3,3,3", options="header"] | ||
|=== | ||
| ACK Status | ||
| Before | ||
| Now | ||
| What has changed? | ||
|
||
| `ACCEPT` | ||
| Acknowledge the message. | ||
| Acknowledge the message. | ||
| No Change. | ||
|
||
| `REJECT` | ||
| If `autoBindErrorQueue` is `true`, then republish the message onto the error queue and `ACCEPT` it. | ||
|
||
Otherwise, if the consumer is in a defined consumer group, invoke `REQUEUE`. | ||
|
||
Otherwise, the consumer is in an anonymous group, and the message will be discarded. | ||
|
||
| If `autoBindErrorQueue` is `true`, then republish the message onto the error queue and `ACCEPT` it. | ||
|
||
Otherwise, for both, the consumer in a defined consumer group or in an anonymous group, signal the Solace broker to discard/remove the message from queue. | ||
|
||
Refer to xref:README.adoc#_failed_consumer_message_error_handling[Failed Consumer Message Error Handling] for more info. | ||
|
||
| Earlier, if `autoBindErrorQueue` is false, in case of defined consumer group, `REQUEUE` was called internally. | ||
|
||
Now, for both the consumer in defined or anonymous consumer group, the message will be rejected/discarded. | ||
|
||
If your application want requeue behaviour, explicitly call `REQUEUE`. | ||
|
||
| `REQUEUE` | ||
| If the consumer is in a defined consumer group, rebind the consumer flow. Otherwise, a `SolaceAcknowledgmentException` will be thrown. | ||
| For both the consumer in defined or anonymous consumer group, requeue the message. | ||
|
||
Refer to xref:README.adoc#_message_redelivery[Message Redelivery] for more info. | ||
| Now, both defined and anonymous consumer group supports `REQUEUE`. | ||
|
||
If your application was using anonymous consumer group, you should note the change in behaviour, and you may like to review your application in this context. | ||
|=== | ||
|
||
=== Removed Solace Consumer Binding properties | ||
|
||
The Solace consumer rebind related configuration properties `flowPreRebindWaitTimeout`, `flowRebindBackOffInitialInterval`, `flowRebindBackOffMaxInterval`, `flowRebindBackOffMultiplier` has been removed as consumer rebind mechanism is no longer used. Presence of these properties would not make a difference and ideally should be removed from application configuration. Refer xref:README.adoc#_solace_consumer_properties [Solace Consumer configuration properties]. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.