Skip to content

Commit

Permalink
Fix in docs for dotnet client (apache#14169)
Browse files Browse the repository at this point in the history
  • Loading branch information
entvex authored Feb 9, 2022
1 parent 640b4e6 commit 6e859dd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions site2/docs/client-libraries-dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,7 @@ Messages can be acknowledged individually or cumulatively. For details about mes
- Acknowledge messages individually.

```c#
await foreach (var message in consumer.Messages())
{
Console.WriteLine("Received: " + Encoding.UTF8.GetString(message.Data.ToArray()));
}
await consumer.Acknowledge(message);
```

- Acknowledge messages cumulatively.
Expand Down

0 comments on commit 6e859dd

Please sign in to comment.