Skip to content

Commit

Permalink
fix(codegen): use one context per received message (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
lerenn authored Jul 1, 2024
1 parent 07c6cf7 commit 209e450
Show file tree
Hide file tree
Showing 42 changed files with 3,345 additions and 1,827 deletions.
21 changes: 21 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ services:
image: nats:latest
ports:
- 4222:4222
expose:
- 4222
nats-tls:
image: nats:latest
ports:
- "4223:4222"
expose:
- 4223
command: [
"--tls",
"--tlscert", "/certs/server-cert.pem",
Expand All @@ -19,6 +23,8 @@ services:
image: nats:latest
ports:
- 4224:4222
expose:
- 4224
command: [
"--tls",
"--tlscert", "/certs/server-cert.pem",
Expand All @@ -34,13 +40,17 @@ services:
image: nats:latest
ports:
- 4225:4222
expose:
- 4225
command: [
"-js",
]
nats-jetstream-tls:
image: nats:latest
ports:
- 4226:4222
expose:
- 4226
command: [
"-js",
"--tls",
Expand All @@ -53,6 +63,8 @@ services:
image: nats:latest
ports:
- 4227:4222
expose:
- 4227
command: [
"-js",
"--tls",
Expand All @@ -70,6 +82,9 @@ services:
ports:
- 9092:9092
- 9093:9093
expose:
- 9092
- 9093
environment:
- KAFKA_CFG_NODE_ID=0
- KAFKA_CFG_PROCESS_ROLES=controller,broker
Expand All @@ -84,6 +99,9 @@ services:
ports:
- 9094:9094
- 9095:9095
expose:
- 9094
- 9095
environment:
- KAFKA_CFG_NODE_ID=0
- KAFKA_CFG_PROCESS_ROLES=controller,broker
Expand All @@ -102,6 +120,9 @@ services:
ports:
- 9096:9096
- 9097:9097
expose:
- 9096
- 9097
environment:
- KAFKA_CFG_NODE_ID=0
- KAFKA_CFG_PROCESS_ROLES=controller,broker
Expand Down
87 changes: 56 additions & 31 deletions examples/helloworld/v2/nats/app/app.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 59 additions & 32 deletions examples/helloworld/v3/nats/app/app.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 209e450

Please sign in to comment.