6-reconnecting-view

command
v1.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Reconnecting View

This example shows a reconnecting view by observing the state changes. Run a local Kafka cluster by calling make start in folder examples/.

Then run this example (go run 6-reconnecting-views/main.go). You should see the view state changes upon starting.

Now kill the kafka cluster make stop, you should see some error messages and the view trying to reconnect using a default backoff

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL