mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-31 02:33:09 -06:00
Use namespaced consumer name
This commit is contained in:
parent
a22b22e3cd
commit
8c20a7f7ce
|
|
@ -26,7 +26,7 @@ func (c *JetStream) TopicFor(name string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *JetStream) Durable(name string) nats.SubOpt {
|
func (c *JetStream) Durable(name string) nats.SubOpt {
|
||||||
return nats.Durable(name)
|
return nats.Durable(c.TopicFor(name))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *JetStream) Defaults(generate bool) {
|
func (c *JetStream) Defaults(generate bool) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue