forked from guacsec/guac
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (guacsec#1664)
* add new file to emitter package Signed-off-by: pxp928 <[email protected]> * add gocloud nats plugin that supports jetstream Signed-off-by: pxp928 <[email protected]> * add publish and subscribe via gocloud Signed-off-by: pxp928 <[email protected]> * add support for jetstream and other pubsub services Signed-off-by: pxp928 <[email protected]> * add missing initalization for nats and defer sub close Signed-off-by: pxp928 <[email protected]> * nats jetstream functional with gocloud Signed-off-by: pxp928 <[email protected]> * remove context initalization for jetstream Signed-off-by: pxp928 <[email protected]> * udpate unit tests for emitter Signed-off-by: pxp928 <[email protected]> * remove unneeded stream information for publish and subscribe Signed-off-by: pxp928 <[email protected]> * change nats-addr to pubsub-addr and add check before nats initializes Signed-off-by: pxp928 <[email protected]> * remove storing in context Signed-off-by: pxp928 <[email protected]> * update helper comments for emitter Signed-off-by: pxp928 <[email protected]> * updated error message Signed-off-by: pxp928 <[email protected]> * fix err checking to shutdown topic and subscriber Signed-off-by: pxp928 <[email protected]> * remove commented out unused code Signed-off-by: pxp928 <[email protected]> * improve nats error messaage with server address Signed-off-by: pxp928 <[email protected]> * fix tilt and address comments Signed-off-by: pxp928 <[email protected]> * remove commented out unused code Signed-off-by: pxp928 <[email protected]> --------- Signed-off-by: pxp928 <[email protected]>
- Loading branch information
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.