Skip to content

Commit e92f397

Browse files
committed
✨ add apiEndpoint for message ordering
1 parent 2965db1 commit e92f397

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/models/pubsub/pubsub-client.model.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export class PubSubClient<T> {
99
private topicName: string;
1010

1111
constructor(topicName: string) {
12-
this.client = new PubSub();
12+
this.client = new PubSub({
13+
apiEndpoint: 'europe-west3-pubsub.googleapis.com:443',
14+
});
1315
this.topicName = topicName;
1416
}
1517

0 commit comments

Comments
 (0)