01
State lives with your code
Embed the runtime in a Go process. No control plane, JVM, or separate cluster to babysit.
Weibo is an embeddable stream processing engine for stateful pipelines, event-time windows, and exactly-once Kafka delivery.
go get github.com/ASHUTOSH-SWAIN-GIT/weiboKeep stream logic, deployment, and observability in the same place as the service that owns them. Weibo gives Go applications durable state without introducing another distributed system.
Embed the runtime in a Go process. No control plane, JVM, or separate cluster to babysit.
Barriers align state, source offsets, and transactional output into one durable commit.
Bounded edges expose blocked sends, capacity, throughput, and lag through metrics.
Sources, keyed operators, state, and sinks compile into a bounded execution graph with deterministic recovery.
env := weibo.NewEnv().
WithCheckpointing(30*time.Second, storage).
WithStateBackend(state.Pebble("./state"))
env.FromSource(orders).
KeyBy(byCustomer).WithPartitions(4).
Reduce(sumAmounts).
ToSink(kafka.NewTransactionalSink(output))
env.Execute(ctx)