Skip to content

Can broker publish messages to topics in other brokers ? #13687

@Richard-Yi

Description

@Richard-Yi

I want to implement a custom feature on pulsar.
the feature can be simply described as below:

  1. send a message to topic_1
  2. generate a new message after sending complete and send the new message to topic_2

The feature works fine in standalone mode. However, after testing, I found that broker can't publish messages to topic_2 in a cluster mode, because topic_1 and topic_2 are not in the same broker.

My question is, is pulsar currently able to implement the above requirements and is there a wrapped API for it? Or it's a must that both topics must be on the same broker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions