Data Collector Stream Connection Java Example The following java snippet demonstrates how to establish a streaming connection to a Data Collector stream.