Skip to content

tremor-rs/tremor-redpanda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redpanda delivery guarantees

This example goes into how tremors delivery guarantees work in combination with a sink and source that also support delivery guarantees.

The scenario isn't all-encompassing but looks at the following specific use-case:

  1. A tremor source that does not hold guarantees.
  2. A WAL to persist data from the source
  3. A Redpanda instance were data is sent to
  4. A secondary tremor instance with a Redpanda source that reads the data and prints it to stdout

With this we can demonstrate the recovery and delivery guarantees using a WAL with Redpanda.

We can start the example using docker-compose up. Then with docker ps we find the Kafka instance and can introduce an artificial error using docker pause <container>. We will see the messages stopping if we wait for a while we can reenable kafka with docker unpause <container> and will see the message flow resuming with a number of duplicated but no lost messages.

Verifying tremor is publishing to redpanda

$ docker-compose exec redpanda rpk topic consume tremor

Issue

Currently the tremor-out container doesn't always succesfully subscribe to the tremor topic.

It can be started via:

$ docker-compose up tremor_out

The underlying issue seems to be with topic metadata fetch and related to interactions between librdkafka and the remote ( redpanda ) in this case counterparty participant.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •