relayx-js 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/realtime/realtime.js +2 -2
package/package.json
CHANGED
package/realtime/realtime.js
CHANGED
|
@@ -511,7 +511,7 @@ export class Realtime {
|
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
var opts = {
|
|
514
|
-
name:
|
|
514
|
+
name: `nodejs_${topic}_${uuidv4()}_history_consumer`,
|
|
515
515
|
filter_subjects: [this.#getStreamTopic(topic)],
|
|
516
516
|
replay_policy: ReplayPolicy.Instant,
|
|
517
517
|
opt_start_time: start,
|
|
@@ -597,7 +597,7 @@ export class Realtime {
|
|
|
597
597
|
* @param {string} topic
|
|
598
598
|
*/
|
|
599
599
|
async #startConsumer(topic){
|
|
600
|
-
const consumerName =
|
|
600
|
+
const consumerName = `nodejs_${topic}_${uuidv4()}_consumer`;
|
|
601
601
|
|
|
602
602
|
var opts = {
|
|
603
603
|
name: consumerName,
|