e5b0a7e20d
server: add BatchSubscriber
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-27 23:58:06 +03:00
86626c5922
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-27 08:32:47 +03:00
bbbcb22565
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-06 19:45:13 +03:00
4ec4c277b7
lint: fix all major issues
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-14 16:16:01 +03:00
abb9937787
fix lint issues ( #16 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-13 01:46:16 +03:00
827d467077
micro: rewrite options to support multiple building blocks
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 13:17:32 +03:00
8b7380876e
modify all code for never logger interface
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 19:24:03 +03:00
c9049c3845
major codec upgrade
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-23 16:21:07 +03:00
daffa9e548
use metadata.Metadata ( #8 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-18 16:50:41 +03:00
e41bb5ebc5
rewrite logger
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-05 00:23:05 +03:00
40b0870cf8
fix linting ( #4 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-03 01:08:23 +03:00
14c97d59c1
many improvements with options and noop stuff
...
* add many options helpers
* fix noop client to allow publish messages to topic in broker
* fix noop server to allow registering in registry
* fix noop server to allow subscribe to topic in broker
* fix new service initialization
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-16 09:38:57 +03:00
4c12e38c01
move generic code from grpc server implementation
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-09 16:15:36 +03:00
Asim Aslam
563768b58a
v3 refactor ( #1868 )
...
* Move to v3
Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-07-27 13:22:00 +01:00
f23638c036
fix import paths for v2 release
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
Asim Aslam
080363e8c4
The mega cruft proxy PR ( #974 )
...
* the mega cruft proxy PR
* Rename broker id
* add protocol=grpc
* fix compilation breaks
* Add the tunnel broker to the network
* fix broker id
* continue to be backwards compatible in the protocol
2019-11-25 16:31:43 +00:00
da6c1be607
dont panic on missing headers in broker event ( #963 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-11-20 07:55:47 +00:00
Asim Aslam
1db98ee0f0
move all the buffer references to util/buf
2019-07-28 19:33:24 +01:00
Asim Aslam
4b4ad68eb9
Change Publication to Event
2019-07-07 12:44:09 +01:00
Asim Aslam
9f037eafd2
fix waitgroup bug which crashes subscriber
2019-05-29 09:28:04 +01:00
shu xian
fac42bc1a9
add AutoAck support for Server
2019-05-24 20:06:27 +08:00
Asim Aslam
bfd341a269
Execute wrappers before router
2019-01-11 15:49:54 +00:00
Asim Aslam
b39ec4472c
Return subscriber errors
2018-04-26 10:47:13 +01:00
Asim Aslam
d00d76bf7c
Move publication to message
2018-04-14 18:21:02 +01:00
Asim Aslam
c9b40cb33b
switch to stdlib context
2018-03-03 11:53:52 +00:00
Asim Aslam
3812cbbcb6
defer wg.Done so it's called even if there's a panic
2017-06-12 14:18:59 +01:00
Asim Aslam
f7a9207c7a
wait for subscribers to complete
2017-05-31 19:47:41 +01:00
Asim
bfe20d81d0
More linting fun
2016-04-06 18:03:27 +01:00
Asim
9ae0956cea
Move context to metadata
2016-01-28 17:55:28 +00:00
Asim
f812613973
Add implementation for internal handlers and subscribers. They are not advertised to discovery
2016-01-08 14:02:32 +00:00
Asim
64b45f7846
Update options to be public. This means people can implement the interfaces and actually use the options
2015-12-31 18:11:46 +00:00
Asim
536216fd01
Fix the rest of the code
2015-12-23 19:16:55 +00:00
Asim
5e364693ee
Rename to hdlrWrappers for symmetry sake
2015-12-02 21:12:09 +00:00
Asim
a695e10d21
Send Request and Publication types
2015-12-02 20:56:50 +00:00
Asim
eef155490e
Setup subscription wrappers
2015-12-02 19:56:57 +00:00
Asim
cfa676af19
Only support single signature for subscriber and validate
2015-12-02 17:42:14 +00:00
Asim
654728027b
Updated codec interface and code. Painful stuff
2015-11-28 11:22:29 +00:00
Asim
5d88115f2a
update links from myodc to micro
2015-11-20 16:17:33 +00:00
Asim
763608854b
Update subscriber name
2015-10-11 12:12:41 +01:00
Asim
b91af916f9
Add pub/sub to client/server and make broker more low level
2015-06-12 19:52:27 +01:00