Produce and consume messages in the Astra Portal
This guide assumes you have completed the Astra Streaming quickstart.
Now, it’s time to produce and consume messages in your new streaming tenant. The following steps will use the "Try Me" feature of the Astra Portal to interact with an existing topic.
Select the producer and consumer topics
-
In the Astra Portal, click Streaming tenants.
-
Click the name of your tenant.
-
Click the Try Me tab.
-
Select a namespace, producer topic, and consumer topic for the test.
-
For this example, you can use the default values for the Connection type, Read position, Subscription, and Subscription Type settings.
In future tests, you might want to change these settings.
Connect and send a message
-
Click Connect to open a websocket connection in your browser with this topic.
-
In Send message, type a message for the test, and then click Send.
A message is produced (sent) to your selected topic, and then the consumer consumes (retrieves) the message. Produced and consumed messages are printed in a chat style format in the Test Message dialog.