-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
I want to use one CID to subscribe two Topic, but if i use your SDK, i have to create two subscriber to do this.
const consumer1 = new Consumer(CUSTOMER_ID, TOPIC1, TAGS, ACCESS_KEY, SECRET_KEY, OPTIONS);
const consumer2 = new Consumer(CUSTOMER_ID, TOPIC2, TAGS, ACCESS_KEY, SECRET_KEY, OPTIONS);
And it is strange that just first consumer work, second consumer offline.
I hope use your SDK can support that:
const consumer = new Consumer(CUSTOMER_ID, ACCESS_KEY, SECRET_KEY, OPTIONS);
consumer.subscribe(TOPIC, TAG, async msg => { // do something });
Waiting for your help ...
Metadata
Metadata
Assignees
Labels
No labels