#692·watermill

Another gochannel pubsub question

Author: Excpt0rCreated Jun 30, 2026Updated Jun 30, 2026
Labelsbug

Hey,

I have some aspects I would like to discuss about the gochannel pubsub.

  1. gochannel pubsub docs error? The docs say GuaranteedOrder is supported, while the tests expect GuaranteedOrder=false I think the current impl. does not support it, right? Related files: docs/content/pubsubs/gochannel.md pubsub/gochannel/pubsub_test.go

  2. gochannel pubsub usage in production I have a similar use case as mentioned in this ticket: https://github.com/ThreeDotsLabs/watermill/issues/560 I would like to use the gochannel pubsub to communicate between components within the same process. So it should be fast and lightweight, without involving networking. The ticket mentions that the gochannel pubsub is not intended for production use. My question is why, and what would be used instead?

  3. Possible solutions Based on answer to 2) I would like to discuss possible solutions to make the gochannel pubsub production ready - in case that makes sense. For example I could imagine solutions that would provide the GuaranteedOrder feature. Would be happy to contribute.

Thanks and best regards