-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
abstract pubsub service via gocloud (#1664)
* add new file to emitter package Signed-off-by: pxp928 <parth.psu@gmail.com> * add gocloud nats plugin that supports jetstream Signed-off-by: pxp928 <parth.psu@gmail.com> * add publish and subscribe via gocloud Signed-off-by: pxp928 <parth.psu@gmail.com> * add support for jetstream and other pubsub services Signed-off-by: pxp928 <parth.psu@gmail.com> * add missing initalization for nats and defer sub close Signed-off-by: pxp928 <parth.psu@gmail.com> * nats jetstream functional with gocloud Signed-off-by: pxp928 <parth.psu@gmail.com> * remove context initalization for jetstream Signed-off-by: pxp928 <parth.psu@gmail.com> * udpate unit tests for emitter Signed-off-by: pxp928 <parth.psu@gmail.com> * remove unneeded stream information for publish and subscribe Signed-off-by: pxp928 <parth.psu@gmail.com> * change nats-addr to pubsub-addr and add check before nats initializes Signed-off-by: pxp928 <parth.psu@gmail.com> * remove storing in context Signed-off-by: pxp928 <parth.psu@gmail.com> * update helper comments for emitter Signed-off-by: pxp928 <parth.psu@gmail.com> * updated error message Signed-off-by: pxp928 <parth.psu@gmail.com> * fix err checking to shutdown topic and subscriber Signed-off-by: pxp928 <parth.psu@gmail.com> * remove commented out unused code Signed-off-by: pxp928 <parth.psu@gmail.com> * improve nats error messaage with server address Signed-off-by: pxp928 <parth.psu@gmail.com> * fix tilt and address comments Signed-off-by: pxp928 <parth.psu@gmail.com> * remove commented out unused code Signed-off-by: pxp928 <parth.psu@gmail.com> --------- Signed-off-by: pxp928 <parth.psu@gmail.com>
Showing
38 changed files
with
814 additions
and
915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// change max payload from default 1MB to 64MB | ||
max_payload: 64MB | ||
max_payload: 1MB | ||
// enables jetstream, an empty block will enable and use defaults | ||
jetstream {} |
Oops, something went wrong.