324325326327328329330331332333334
} LOG.info("Sample done."); done.set(true); // Wait for the producer to finish. producer.join(1000*5); toConnection.close(); fromConnection.close(); }
321322323324325326327328329330331