kbear icon indicating copy to clipboard operation
kbear copied to clipboard

_producerListeners 应该调整下结构

Open xinzhuxiansheng opened this issue 5 years ago • 1 comments

private ConcurrentHashMap<String, Runnable> _producerListeners , 假设,现在用户使用sdk 并且利用多线程,创建producer ,那么对于_producerListeners,就会出现,覆盖 ,可以利用 ConcurrentHashMap<String, List<Runnable>> 定义 _producerListeners

xinzhuxiansheng avatar Feb 13 '20 10:02 xinzhuxiansheng

是的,这是考虑步骤的地方,会进行调整改进。

koqizhao avatar May 16 '20 02:05 koqizhao