We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d465c11 commit f075c40Copy full SHA for f075c40
1 file changed
google-cloud-pubsub/samples/pubsub_publish_with_ordering_keys.rb
@@ -18,7 +18,7 @@ def publish_ordered_messages topic_id:
18
# [START pubsub_publish_with_ordering_keys]
19
# topic_id = "your-topic-id"
20
21
- pubsub = Google::Cloud::Pubsub.new
+ pubsub = Google::Cloud::Pubsub.new endpoint: "us-east1-pubsub.googleapis.com:443"
22
23
# Start sending messages in one request once the size of all queued messages
24
# reaches 1 MB or the number of queued messages reaches 20
0 commit comments