* Bidirectional Subscriptions
Adds support for bidirectional subscriptions to PubSubs. Adds two
methods for subscribing- one using a callback and one using an
imperative approach. Both giving support to different programming styles
or use cases.
Adds example with tests.
Signed-off-by: joshvanl <me@joshvanl.dev>
* Linting: Remove unused `closeCh`
Signed-off-by: joshvanl <me@joshvanl.dev>
* Fixes comment order in bidisub.go
Signed-off-by: joshvanl <me@joshvanl.dev>
* Add comment about processing message
Signed-off-by: joshvanl <me@joshvanl.dev>
* Adds dead letter topic example
Signed-off-by: joshvanl <me@joshvanl.dev>
* chore: remove go.mod
Signed-off-by: mikeee <hey@mike.ee>
* Updates go mod to v1.14.0-rc.1
Signed-off-by: joshvanl <me@joshvanl.dev>
---------
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: mikeee <hey@mike.ee>
* Decode CloudEvent Data consistently between HTTP and gRPC
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* linter issue
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Added parsing media type
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Adding extension json media type handling
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* add TTL to actor timer/reminder requests (#225)
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Adding more tests
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
* Tweak
Signed-off-by: Phil Kedy <phil.kedy@gmail.com>
Co-authored-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
* http service implementation
* http coverage
* common serving interface
* multi pubsub support
* multi-pubsub serving
* ensures unique componennt/topic
* cleaned samples in docs
* cleaned up examples in callback docs
* removes Parallel from callback tests
* multi-pupsub support
* updated tests for empty pubsub data
* cleaned up example client
* header parsing in HTTP per issue 1894 in dapr
* refactored client binding
* refactored service invoke
* updated client and serving docs
* removed v0.9 from makefile action descr
* renamed based on PR review
* updated names globally