Can I publish messages in parallel via the Java SDK?
You can use a single PubNub Java object in multiple threads, however the publish operations are processed serially by a single worker thread. In order to publish faster, via multiple worker threads, create a PubNub Java object for each thread created in your app code. By having more worker threads, multiple publish requests will be processed in parallel.
Please note these best practices for publishing messages reliably.