Newer Version Available

This content describes an older version of this product. View Latest

Example: Subscribe to and Replay Events Using a Java Client

This code example shows you how to implement Streaming API from a Java client using a connector. The example subscribes to a channel, receives notifications, and supports replaying events with durable streaming.

The example requires API version 37.0 and later. For a code example that supports earlier API versions, check out an earlier version of this documentation.