Skip to content

Commit

Permalink
Reliable example / Consumer improvements during Metadata updates (#181)
Browse files Browse the repository at this point in the history
* reliable client example implementation

* WIP: adding a reliable-best pratices example

* fixing a bug in consumer happening on metadata update during stream restart

* fixing mypy issues

* fixed an issue on subscribe during node restart

* improving example
  • Loading branch information
DanielePalaia authored Apr 10, 2024
1 parent a81176a commit 8f90160
Show file tree
Hide file tree
Showing 17 changed files with 421 additions and 452 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Example:
await producer.reconnect_stream(stream)
```

Please take a look at the complete examples [here](https://github.com/qweeze/rstream/blob/master/docs/examples/check_connection_broken/)
Please take a look at the complete reliable client example [here](https://github.com/qweeze/rstream/blob/master/docs/examples/reliable_client/)

### Metadata Update

Expand All @@ -268,7 +268,7 @@ linked to the stream and then it sends the Metadata update event.
the behaviour is similar to what we have for disconnections. In case of the Producer/Superstream Producer
the Client will try to automatically reconnect while the Consumer needs to manage the on_close_handler event.

Please take a look at the complete examples [here](https://github.com/qweeze/rstream/blob/master/docs/examples/metadata_update/)
Please take a look at the complete reliable client example [here](https://github.com/qweeze/rstream/blob/master/docs/examples/reliable_client/)

## Load Balancer

Expand Down
20 changes: 0 additions & 20 deletions docs/examples/check_connection_broken/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions docs/examples/metadata_update/README.md

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8f90160

Please sign in to comment.