fluvio
fluvio copied to clipboard
Add new command `fluvio cluster resume`
On some systems fluvio cluster start
can fail to recognize started spus and timeout despite the spus reporting status. (MacOs Sonoma 14.1.2)
Problem
Starting up with multiple spus, creating a topic with replicas higher than 1, then restarting with a different number of spus causes this problem. This can be fixed by starting the cluster with the original start options or a fluvio cluster delete
and a fresh fluvio cluster start
$ fluvio cluster start --spus 3
$ fluvio topic create --replication 3 repltopic
$ fluvio produce repltopic
Ok!
> b
Ok!
> c
Ok!
> ^C
$ fluvio cluster shutdown
$ fluvio cluster start
📝 Running pre-flight checks
✅ Local Fluvio is not installed
🎉 All checks passed!
✅ Local Cluster initialized
👤 Profile set
✅ SC Launched
🤖 Starting SPU: (1/1) \
🖥️ 3/1 SPU confirmed, 15 seconds elapsed
Solution
disallow fluvio cluster start
after a fluvio cluster shutdown
. Instead add new command for fluvio cluster resume