From 045ec510faa5f92dc91112dd2c13b69163ce436f Mon Sep 17 00:00:00 2001 From: Andres Pineda <1900897+ajpinedam@users.noreply.github.com> Date: Wed, 19 Jun 2024 22:00:35 -0400 Subject: [PATCH] fix: replace deprecated property in sample --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {