diff --git a/README.md b/README.md index 9b364613e..1a4fe1ddd 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ class Program try { var cr = c.Consume(cts.Token); - Console.WriteLine($"Consumed message '{cr.Value}' at: '{cr.TopicPartitionOffset}'."); + Console.WriteLine($"Consumed message '{cr.Message.Value}' at: '{cr.TopicPartitionOffset}'."); } catch (ConsumeException e) {