Skip to content

Commit

Permalink
Version tag obsolete in docker compose Part 4 (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf authored Jul 11, 2024
1 parent 0886dbd commit 3d79731
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion examples/jetstream/ack-ack/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void main(String[] args) {
js.publish("verifyAckSubject", "B".getBytes());

// Consume a message with 2 different consumers
// The first consumer will ack without confirmation
// The first consumer will (regular) ack without confirmation
// The second consumer will ackSync which confirms that ack was handled.
StreamContext sc = nc.getStreamContext("verifyAckStream");
ConsumerContext cc1 = sc.createOrUpdateConsumer(ConsumerConfiguration.builder().filterSubject("verifyAckSubject").build());
Expand Down
1 change: 0 additions & 1 deletion examples/jetstream/ack-ack/java/output.cast
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{"version": 2, "width": 0, "height": 0, "timestamp": 1718718084, "env": {"SHELL": null, "TERM": null}, "title": "NATS by Example: jetstream/ack-ack/java"}
[2.175888, "o", "\u001b[33mWARN\u001b[0m[0000] /tmp/4177257857/docker-compose.yaml: `version` is obsolete \r\n"]
[2.975389, "o", "Consumer 1\r\n Start\r\n # pending messages: 2\r\n # messages with ack pending: 0\r\n"]
[2.986982, "o", " After received but before ack\r\n # pending messages: 1\r\n # messages with ack pending: 1\r\n"]
[3.089129, "o", " After ack\r\n # pending messages: 1\r\n # messages with ack pending: 0\r\n"]
Expand Down
1 change: 0 additions & 1 deletion examples/jetstream/ack-ack/java/output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
WARN[0000] /tmp/4177257857/docker-compose.yaml: `version` is obsolete
Consumer 1
Start
# pending messages: 2
Expand Down

1 comment on commit 3d79731

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for nats-by-example ready!

✅ Preview
https://nats-by-example-ln38hljxc-connecteverything.vercel.app

Built with commit 3d79731.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.