The 1st method, if a process has 2 threads, one use synchronous publish and another asynchronous publish, then what I worried may happen, right?
I think the 2nd method should work.
The 1st method, if a process has 2 threads, one use synchronous publish and another asynchronous publish, then what I worried may happen, right?
I think the 2nd method should work.