Commit Graph

36 Commits

Author SHA1 Message Date
e66194695e improve tracing
Some checks failed
build / test (push) Failing after 25s
build / lint (push) Successful in 22s
codeql / analyze (go) (push) Failing after 46s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-07-22 23:45:23 +03:00
d404fa31ab export Subscriber
Some checks failed
build / test (push) Failing after 1m38s
codeql / analyze (go) (push) Failing after 1m59s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-05-22 18:28:51 +03:00
88777a29ad add helper funcs
Some checks failed
build / test (push) Failing after 1m39s
codeql / analyze (go) (push) Failing after 2m8s
build / lint (push) Successful in 9m13s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-05-22 17:49:36 +03:00
8fcc23f639 fixup tracing
Some checks failed
build / test (push) Failing after 1m46s
codeql / analyze (go) (push) Failing after 1m45s
build / lint (push) Successful in 9m12s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-05-06 07:30:17 +03:00
fe66086c40 fixup tracing
Some checks failed
build / test (push) Failing after 2m10s
codeql / analyze (go) (push) Failing after 2m7s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-05-05 16:20:05 +03:00
c240631cdb fixup panic
Some checks failed
build / test (push) Failing after 1m32s
codeql / analyze (go) (push) Failing after 2m37s
build / lint (push) Successful in 9m31s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-05-02 10:32:33 +03:00
058b6354c0 fixup tracing
Some checks failed
build / test (push) Failing after 1m27s
codeql / analyze (go) (push) Failing after 1m43s
build / lint (push) Successful in 9m20s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-14 23:17:38 +03:00
39177da1d0 massive meter usage
Some checks failed
build / test (push) Failing after 1m33s
codeql / analyze (go) (push) Failing after 1m39s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-13 02:24:16 +03:00
d559db4050 fixup logger caller skip count
Some checks failed
build / test (push) Failing after 1m17s
codeql / analyze (go) (push) Failing after 8m52s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-13 00:53:09 +03:00
aa946c469a fixup logger caller skip count
Some checks failed
codeql / analyze (go) (push) Failing after 1m51s
build / test (push) Failing after 1m55s
build / lint (push) Successful in 9m14s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-04-13 00:40:12 +03:00
ec7a22b2dc fix double init
Some checks failed
build / test (push) Failing after 1m34s
codeql / analyze (go) (push) Failing after 2m5s
build / lint (push) Successful in 9m15s
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-03-07 09:06:33 +03:00
0a395235d6 backport
Some checks are pending
build / test (push) Waiting to run
build / lint (push) Waiting to run
codeql / analyze (go) (push) Waiting to run
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-02-21 15:08:58 +03:00
697413d829 logger fix
Some checks failed
codeql / analyze (go) (pull_request) Has been cancelled
prbuild / test (pull_request) Has been cancelled
prbuild / lint (pull_request) Has been cancelled
autoapprove / autoapprove (pull_request) Has been cancelled
automerge / automerge (pull_request) Has been cancelled
dependabot-automerge / automerge (pull_request) Has been cancelled
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2024-02-15 10:20:15 +03:00
2c8ca8d14f fixup panic
Some checks failed
codeql / analyze (go) (pull_request) Failing after 2m42s
prbuild / test (pull_request) Failing after 1m29s
prbuild / lint (pull_request) Failing after 2m37s
autoapprove / autoapprove (pull_request) Failing after 1m24s
automerge / automerge (pull_request) Failing after 4s
dependabot-automerge / automerge (pull_request) Has been skipped
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-12-20 22:54:10 +03:00
3a86d4c0f4 fix graceful shutdown
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-05-13 15:12:26 +03:00
221b248b1f Merge branch 'v3' into improve 2023-03-14 09:30:23 +03:00
a9b13378f3 improve performance and correctness
* properly handle rebalances
* simplify code
* return on NewBroker instance and not interface

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-03-13 21:56:44 +03:00
6360f5e78f propogate context to kgo record
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-10-11 11:55:12 +03:00
203266aaea fix noop codec usage and body only
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-08-28 16:06:52 +03:00
d30f3d200b fix panic on publish with not connected broker
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-11-13 18:58:21 +03:00
2c74b3232b support key publish option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-17 18:29:05 +03:00
69fb765b09 import guard
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-03 18:32:41 +03:00
abfa9da1a9 use own domain
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-03 18:30:56 +03:00
4b676bea64 skip marshal/unmarshal on noop codec
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-23 07:06:51 +03:00
cc5d0ba4af add connect checking
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-17 07:56:31 +03:00
c89df95fdc fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-15 18:30:07 +03:00
07fd48cd38 update to latest kgo
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-02 00:20:55 +03:00
8dfa4f2a6d add metrics
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-30 20:02:32 +03:00
54ecafc4b1 cpu and memory optimizations
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-27 02:24:43 +03:00
fe6d7d340e perf fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-26 00:36:32 +03:00
e3b2a0d62b many fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-25 21:51:15 +03:00
70a55ced3f add backoff for reconnect
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-24 13:20:31 +03:00
3f7fcaf4aa intermediate fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-22 12:10:58 +03:00
fc9af8c63e fix build, add comments
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-09 16:49:04 +03:00
aad8a578fc initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-09 00:30:36 +03:00
d750157d53 initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-10 23:41:21 +03:00