Commit Graph

160 Commits

Author SHA1 Message Date
Kamil Myśliwiec
236b633a76 style: address integration tests lint errors 2024-11-26 09:39:20 +01:00
Kamil Myśliwiec
3267135f2d chore: resolve merge conflicts 2024-11-18 12:45:34 +01:00
Kamil Myśliwiec
c239f9a037 refactor: replace inline as any calls with untyped vars 2024-11-18 10:33:51 +01:00
Kamil Myśliwiec
3dfc7fc68e feat(microservices): add status, unwrap, on, and other features 2024-11-15 10:03:05 +01:00
Kamil Myśliwiec
0c84c7e1cc test: update client unit tests, add cleanup 2024-08-13 10:23:27 +02:00
Soroosh Merajian
ed6d91b746 fix(microservices): fix rabbitmq no-assert not being applied correctly 2024-03-02 23:24:55 +01:00
yurks
717e076035 test(microservices): grpc client closing 2023-12-22 16:59:31 +02:00
Kamil Myśliwiec
0a6853c847 Merge branch 'feature/grpc-server-package-definition' of https://github.com/krugi/nest into krugi-feature/grpc-server-package-definition 2023-12-18 09:08:02 +01:00
Micael Levi L. Cavalcante
6bcb3bdcbd style: fix formatting 2023-09-21 17:52:08 -04:00
Kamil Myśliwiec
2e0f3ae597 chore: remove leftovers 2023-07-24 11:33:27 +02:00
tanhovan
20cd8fd5c4 fix lint issue 2023-07-14 15:33:35 +07:00
tanhovan
9f3d1c9c76 fix(microservices): support client cancel grpc request in unary stream - fix pull-request 2023-07-14 15:26:06 +07:00
tanhovan
a326e1a5a3 fix(microservices): support client cancel grpc request in unary stream 2023-07-14 09:10:54 +07:00
tanhovan
400749d083 fix(microservices): support client cancel grpc request in unary stream 2023-07-14 08:58:52 +07:00
regevbr
59379a4d44 fix(microservices): migrate from deprecated kafka subscribe usage 2023-06-17 12:30:12 +03:00
Aleksandr
7a467e6fbe fix(microservices): check length of member partitions on group join 2023-06-01 09:04:09 +03:00
Kamil Mysliwiec
a8ae4f4389 Merge pull request #10628 from nomaxg/tls
feat(microservice): TCP microservice over TLS
2023-04-05 10:46:48 +02:00
Lioness100
fda5fff1cd docs: fix typos 2023-02-10 21:39:29 -05:00
Kamil Myśliwiec
f285d7c954 chore: rename to initialied, update unit tests 2023-02-03 10:19:43 +01:00
Kamil Myśliwiec
9eb3b8903a test: change send to queue spy to a stub 2023-02-02 14:25:38 +01:00
nomaxg
b9c235ae18 feat(microservice): add tcp over tls support
Signed-off-by: nomaxg <noahgolub2@gmail.com>
2022-12-02 16:53:34 -05:00
krugi
7de2ff29a5 feat(microservices): add package definition option to server-grpc
PR #8465 added support for packageDefinition for ClientGrpc, this commit adds it to ServerGrpc.
Exported common packageDefinition logic to getGrpcPackageDefinition and used it in both gRPC Server & Client, for consistency.
This change means that protoPath is now optional - getGrpcPackageDefinition verifies that either protoPath or PackageDefinition exist.
Also, fixed the error thrown from ServerGrpc.loadProto: was Error, now InvalidProtoDefinitionException, as it is in ClientGrpc
2022-11-07 16:15:34 +02:00
Kamil Myśliwiec
ed3b05f104 test: fix broken client-tcp unit test 2022-09-19 15:52:08 +02:00
Kamil Myśliwiec
2dd59bb5c4 Merge branch '10286' of github.com:regevbr/nest into regevbr-10286 2022-09-19 15:09:22 +02:00
szilveszterandras
269ffa3d62 fix(microservices): cleanup unary call on unsubscribe 2022-09-16 19:21:38 +03:00
regevbr
2fe80500dd fix: tcp client memory leaks #10286 2022-09-16 17:52:38 +03:00
regevbr
a439b14c4d fix: tcp client memory leaks #10286 2022-09-16 17:40:06 +03:00
Jozef Dzama
f83e830a4b fix(microservices): kafka parser stops modifying received message 2022-07-21 13:05:55 +02:00
kosh-b
380d230716 Add Kafka heartbeat callback to KafkaContext arguments and pass it to the endpoint 2022-07-19 11:53:37 +03:00
Kamil Myśliwiec
c728ecf9b4 chore(): resolve conflicts 2022-07-07 09:25:38 +02:00
Chris Ha
bf7376803c chore: typo fix 2022-06-19 10:36:22 -05:00
Kamil Myśliwiec
f11181071e chore(): resolve conflicts 2022-05-17 14:11:27 +02:00
Kamil Myśliwiec
1e8966b603 test(microservices): update server & client redis unit tests 2022-05-17 13:33:21 +02:00
Emre Sahin
844bbbb6fc feat(microservices): Introduce producerOnlyMode to ClientKafka
This feature flag enables users to skip the consumer group creation and
rebalancing and allows to only act as a producer on Kafka.

Resolves: #7259
2022-04-15 15:22:47 +02:00
Kamil Myśliwiec
343877d861 Merge branch 'kafka-async-serializer' of https://github.com/guiruiz/nest into guiruiz-kafka-async-serializer 2022-02-14 11:57:42 +01:00
Micael Levi (lab)
fd720e899d refactor: remove deprecated apis from 3rd-party deps
Replacie old and deprecated APIs from `rxjs`, `body-parser`
and NodeJS core (read this guide https://nodejs.org/en/docs/guides/buffer-constructor-deprecation).
Do notice that the later only touches test files, thus doesn't affect
production code.
2021-12-24 20:30:33 -04:00
Guilherme Ruiz
f51377a034 feat(microservices): simplify memory leak fix and add a test 2021-12-22 15:43:44 +11:00
Guilherme Ruiz
01daeb441f feat(microservices): allow kafka serializer to be async and await result 2021-12-16 17:31:53 +11:00
Kamil Mysliwiec
9c64dca7d7 Merge pull request #8253 from Ayzrian/microservices-fix-grpc-package-name
fix(microservices): use root package when packageName is not defined
2021-10-13 13:59:47 +02:00
Nazarii Romankiv
1c91bd6642 test(microservices): cover edge case with unit tests 2021-10-07 10:03:26 +03:00
Kamil Mysliwiec
9ca41ac387 Merge pull request #8045 from tuxmachine/feat/msvc-static-headers
feat(microservices): add static headers
2021-09-28 11:42:49 +02:00
Kamil Myśliwiec
da2b73f0c6 Merge branch 'master' into feat/msvc-message-builder 2021-09-27 11:32:02 +02:00
Kamil Myśliwiec
d8add273e0 fix(microservices): fix rmq client (wait to consume reply channel) #7972 2021-09-24 16:35:12 +02:00
Rick Dutour Geerling
122c4bd521 feat(microservices): add static UserProperties to Mqtt 2021-09-07 12:55:31 +02:00
Rick Dutour Geerling
2bfc98223d feat(microservices): add static headers to ClientRmq 2021-09-07 12:54:48 +02:00
Rick Dutour Geerling
7fed9a9e64 feat(microservices): add static headers for ClientNats 2021-09-07 10:53:00 +02:00
Kamil Myśliwiec
d08217a113 chore(): resolve conflicts 2021-08-25 11:13:37 +02:00
Kamil Myśliwiec
ed1f0b8bc9 feat(microservices): initial implementation of message builders 2021-08-25 11:10:07 +02:00
kvandake
9d75d4b393 format change code 2021-08-17 22:57:26 +03:00
kvandake
74af340f9a add headers in messages to nats client
P.S. kafka serializer style
2021-08-17 22:50:03 +03:00