We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e088f13 commit 628dd81Copy full SHA for 628dd81
src/clients/base/base.ts
@@ -356,7 +356,8 @@ export class Base<OptionsType extends BaseOptions = BaseOptions> extends EventEm
356
const autocreateTopics = options.autocreateTopics ?? this[kOptions].autocreateTopics
357
358
this[kPerformDeduplicated](
359
- 'metadata',
+ // Unique key to avoid mixing callbacks
360
+ `metadata-${options.topics.sort().join(',')}-${autocreateTopics}-${options.forceUpdate}`,
361
deduplicateCallback => {
362
this[kPerformWithRetry]<MetadataResponse>(
363
'metadata',
0 commit comments