-
Notifications
You must be signed in to change notification settings - Fork 336
Add support for Pub/Sub message ordering #85
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
Comments
@ttomsu What do you think of focusing on this one after DLQ? |
The Or do we need to write our own message converter somehow like this?
|
@DerMorb I think we just need to pick a name for the header by adding it to |
Introduces `GcpPubSubHeaders.ORDERING_KEY` header that will be automatically applied to the `PubsubMessage` up conversion. Also, introduces `spring.cloud.gcp.pubsub.publisher.enable-message-ordering` property to enable message ordering on the `Publisher`. First step in addressing: #85.
Introduces `GcpPubSubHeaders.ORDERING_KEY` header that will be automatically applied to the `PubsubMessage` up conversion. Also, introduces `spring.cloud.gcp.pubsub.publisher.enable-message-ordering` property to enable message ordering on the `Publisher`. First step in addressing: #85.
Introduces `GcpPubSubHeaders.ORDERING_KEY` header that will be automatically applied to the `PubsubMessage` up conversion. Also, introduces `spring.cloud.gcp.pubsub.publisher.enable-message-ordering` property to enable message ordering on the `Publisher`. First step in addressing: #85.
Now that #85 is in, what's left?
|
Is this feature implemented in latest release? |
No, only the latest SNAPSHOT release has the change. |
Hello, Do you have a plan when this will be published? |
Publisher endpoints for message ordering have been available since version 2.0.3 |
Introduces `GcpPubSubHeaders.ORDERING_KEY` header that will be automatically applied to the `PubsubMessage` up conversion. Also, introduces `spring.cloud.gcp.pubsub.publisher.enable-message-ordering` property to enable message ordering on the `Publisher`. First step in addressing: GoogleCloudPlatform#85.
PubSubAdmin.createSubscription()
will need to be expanded to allow enabling ordering, and whenever we create aPubsubMessage
, we need to be able to set the ordering key for it.Also, the Pub/Sub Cloud Stream Binder will need to be updated to support the option.
See: https://cloud.google.com/pubsub/docs/ordering
See: https://cloud.google.com/pubsub/docs/publisher#using_ordering_keys
Q: Does it makes sense to expose the keys as partitions in a Kafka-binder-like API?
The text was updated successfully, but these errors were encountered: