This is an automated email from the ASF dual-hosted git repository.

lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new a6b9702  Update release_validation_linux_macos.md
a6b9702 is described below

commit a6b97029dfa25ff838f02731aaeb6fa6252072c8
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Dec 5 11:51:51 2024 -0800

    Update release_validation_linux_macos.md
    
    - Add more output to the validation test app
---
 docs/release_validation_linux_macos.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/docs/release_validation_linux_macos.md 
b/docs/release_validation_linux_macos.md
index cfc3bab..1f58e37 100644
--- a/docs/release_validation_linux_macos.md
+++ b/docs/release_validation_linux_macos.md
@@ -74,20 +74,27 @@ using DotPulsar.Extensions;
 
 const string myTopic = "persistent://public/default/mytopic";
 
-// connecting to pulsar://localhost:6650
+Console.WriteLine("Connecting to pulsar://localhost:6650");
 await using var client = PulsarClient.Builder().Build();
+Console.WriteLine("Connected");
 
+Console.WriteLine("Creating consumer");
 // consume messages
 await using var consumer = client.NewConsumer(Schema.String)
     .SubscriptionName("MySubscription")
     .Topic(myTopic)
     .InitialPosition(SubscriptionInitialPosition.Earliest)
     .Create();
+Console.WriteLine("Created.");
 
 // produce a message
+Console.WriteLine("Creating a producer.");
 await using var producer = 
client.NewProducer(Schema.String).Topic(myTopic).Create();
+Console.WriteLine("Sending a message.");
 await producer.Send("Hello World");
+Console.WriteLine("Sent.");
 
+Console.WriteLine("Waiting for a message.");
 var message = consumer.Receive().Result;
 Console.WriteLine("Received: " + message.Value());
 await consumer.Acknowledge(message);

Reply via email to