Command: ./go start rabbitmq
Command: ./go start event-store
Subscribes to:
- All topics in
SUB_TOPICdefined in thedocker-compose.yml- Writes all messages going into
SUB_TOPICto postgres.
- Writes all messages going into
- Replay queue for
time = last- Queries for
amountevents afterstarttimestamp fromexchangeTarget. - Replays them in the defined
replayExchange.- If
replayExchangeandexchangeTargetare the same there will be duplicate events in the db.
- If
- Queries for
- Replay queue for
time = between- Not implemented yet :(
- Will get events between start and end timestamps
Command: ./go start sub
Subscribes to:
- All topics in
SUB_TOPICdefined in thedocker-compose.yml - All topics in replay_
SUB_TOPIC. The designated replay queue forSUB_TOPIC
Command: ./go pub [topic] [n]
Will publish to random permutation of sub-topics and values.
topicmust be a valid topic schema defined in all containers :(nis the number of messages sent.
Command: ./go pub replay [topic] [n] [timestamp]
topicmust be a valid topic schema defined in all containers :(nis the number of messages to replay.timestampis the start timestamp. Defaults to now.