Skip to content

Commit f075c40

Browse files
authored
chore(samples): updated sample changes made to original files before the split (#21690)
1 parent d465c11 commit f075c40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-pubsub/samples/pubsub_publish_with_ordering_keys.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def publish_ordered_messages topic_id:
1818
# [START pubsub_publish_with_ordering_keys]
1919
# topic_id = "your-topic-id"
2020

21-
pubsub = Google::Cloud::Pubsub.new
21+
pubsub = Google::Cloud::Pubsub.new endpoint: "us-east1-pubsub.googleapis.com:443"
2222

2323
# Start sending messages in one request once the size of all queued messages
2424
# reaches 1 MB or the number of queued messages reaches 20

0 commit comments

Comments
 (0)