Quickstart
make proto-toolsmake protomake buildCHRONACTA_DATA_DIR=./data ./bin/chronacta-serverIn another terminal:
./bin/chronacta health./bin/chronacta append -stream orders-1 -type OrderCreated -data '{"order_id":"1"}' -expected-version -2./bin/chronacta read -stream orders-1 -from 1./bin/chronacta read-all -from 1./bin/chronacta verifySchema
Section titled “Schema”./bin/chronacta schema register -name order-created -version 1 \ -file order-created.schema.json -compatibility none./bin/chronacta append -stream orders-2 -type OrderCreated \ -data '{"order_id":"2"}' \ -schema-name order-created -schema-version 1 \ -expected-version -2Durable subscription
Section titled “Durable subscription”./bin/chronacta subscription create -id orders -stream orders-1 -consumer worker-pool -from 1./bin/chronacta subscription pull -id orders./bin/chronacta subscription ack -id orders -position 1Projection
Section titled “Projection”./bin/chronacta projection create -name orders-count -runtime builtin -program count -source-stream orders-1./bin/chronacta projection rebuild -name orders-count./bin/chronacta projection result -name orders-countOr run the packaged examples against a live server:
./bin/chronacta-example-basic./bin/chronacta-example-projection./bin/chronacta-example-export-import./bin/chronacta-example-sdkSee Go SDK for client usage, TLS, auth, and pkg/client/resilience reconnect (Connect, SubscribeLive, RunDurableWorker).

