Xbus - Go client¶
A Go client for the Xbus ESB.
Installation¶
This is a regular Go library:
go get bitbucket.org/orus-io/go-xbus
See the Xbus project for more info.
Versions¶
3.0.0-beta.9 (2017-09-19)¶
- EnvelopeSender: add GetID
- Fix: configuration file entry ‘persistent-store’ was ignored
- Add a TLSTimeout setting (default 4s)
- tools: cleanup cert-related functions
- API
- Clarify Item type: it is no longer a JsonRawMessage, but a []byte
- Add ‘control.process.export’
- Add ‘control.process.purge’
- Better process filtering API
- Add ‘control.envelope.purge’
- Add ‘control.logs.purge’
- Add ‘Expire’ attribute to AccountUpdateReq for specifying client certificate validity range.
3.0.0-beta.8 (2017-06-03)¶
- API
- New ‘postmortem’ APIs allow post mortem inspection of failed process
- Cleaner ‘graph’ handling API
- Add a ‘Gateway’ account type
- Add ‘AccountRenewAPIKey’
- Add ‘GetActors’
- Add ‘WhoAmI’
- Client:
- Try harder to send processingend:
- Log the processingend occurences in a persistent store
- Retry calling processingend until server replies
- Add ActorFind, ActorDelete, AccountFind, AccountDelete
- Try harder to send processingend:
- Add a ‘UnregisterActorService’ for removing actor services from the registry
- Add a ‘counter’ demo emitter
- Add a constructor for EnvelopeSender that takes envelope and event IDs
3.0.0-beta.7 (2017-03-09)¶
- Add support for fragmented envelopes:
- Drop EnvelopeReader in favor of EnvelopeReceiver for receiving envelopes as streams of Items
- Add EnvelopeSender for writing envelopes as streams of Items
- Add Actor.OpenOutput
- EnvelopeValidator: Add EventTypesKnown field
- EnvelopeValidator: Better error handling in Add()
- ProcessingEnd, ProcessingSuccess & ProcessingError now takes a context & ID instead of an envelope
3.0.0-beta.6 (2017-02-03)¶
- Client.Startup & Shutdown now handle the connection to the bus:
- ‘Connect’ should not be called before calling Startup()
- On disconnection, the connection will be attempted until success
- Fix demo actors
3.0.0-beta.5 (2017-01-26)¶
- Add a ‘demo’ package, which contains some demonstration actor services:
- A ‘demo.helloword’ emitter
- A ‘demo.relay’ worker
- A ‘demo.print-to-console’ consumer
- Adjust some logs levels
- Add Actor.GetIntSettingD for reading integer settings with a default value.
- Add Actor.SendItemsContext for sending items within a context.
- Allow custom hostDefs in CreateServerRootCA
3.0.0-beta.4 (2017-01-20)¶
- Rename client.XBusClient to xbus.Client
- xbus.Client can start/stop actors given the proper configuration
- Provides a
serve
command that start a Client and its actors. - Merge Consumer, Emiter & Worker in Actor
- Actor.Subscribe now have handler arg and returns the subscription that is no longer help by the Actor itself
- Actor options ‘type’ and ‘settings’ are now in a sub-option ‘service’
- Fix configuration writeback so it preserves non-xbus settings
- Fix validation of events with 0 items
initial¶
- Extracted client, lib, tools and xbus-client/cmd from xbus 3.0.0-beta.3