Skip to content

Commit 30509a6

Browse files
authored
Update README.adoc
1 parent 8e33cc9 commit 30509a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ producer.produce(msg);
144144

145145
To consume messages, simply call `consume` on you consumer group, passing in your consumer name:
146146

147+
```
147148
TopicEntry entry = consumerGroup.consume("my-consumer");
149+
```
148150

149151
The message contains:
150152
1. The message id (the monotonic id created by Redis when the message was produced)
@@ -236,4 +238,4 @@ To report bugs, request features, or receive assistance, please https://github.c
236238

237239
== License
238240

239-
{name} is licensed under the Business Source License 1.1. Copyright (C) 2024 Redis, Inc. See https://github.com/redis-field-engineering/{dist-repo}/blob/main/LICENSE.md[LICENSE] for details.
241+
{name} is licensed under the Business Source License 1.1. Copyright (C) 2024 Redis, Inc. See https://github.com/redis-field-engineering/{dist-repo}/blob/main/LICENSE.md[LICENSE] for details.

0 commit comments

Comments
 (0)