mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Add unique ID to request/response subscriber names so subscribes see all responses (#399)
This commit is contained in:
parent
c05ec25e39
commit
4ffb677488
1 changed files with 5 additions and 1 deletions
|
|
@ -127,8 +127,12 @@ class RequestResponseSpec(Spec):
|
|||
|
||||
rr = self.impl(
|
||||
client = processor.pulsar_client,
|
||||
|
||||
# Make subscription names unique, so that all subscribers get
|
||||
# to see all response messages
|
||||
subscription = (
|
||||
processor.id + "--" + flow.name + "--" + self.request_name
|
||||
processor.id + "--" + flow.name + "--" + self.request_name +
|
||||
"--" + str(uuid.uuid4())
|
||||
),
|
||||
consumer_name = flow.id,
|
||||
request_topic = definition[self.request_name],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue