Are there any performance implications of Pub/Sub message ordering on the publisher only?
I am maintaining an internal Go library, which has a pubsub package. Currently, it doesn't support message ordering, but I would like to enable it. I want to make it as simple as possible by using defaults where it makes sense - convention over configuration type thing. I have a simple Publish function which accepts a topic and a message payload: func (c *Client) Publish(ctx context.Context, topic string, message any) error { data, err := json.Marshal(message) if err != nil { return fmt.Errorf("failed to marshal message: %w", err) } pubSubMsg := &pubsub.Message{ Data: data, PublishTime: time.N
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.