Class JobStreamClientImpl

java.lang.Object
io.camunda.zeebe.gateway.impl.stream.JobStreamClientImpl
All Implemented Interfaces:
BrokerTopologyListener, JobStreamClient, CloseableSilently, AutoCloseable

public final class JobStreamClientImpl extends Object implements JobStreamClient
A thin adapter around a ClientStreamService instance specifically for streaming jobs. It's intended to be the main entry point when setting up the client side of job streaming in the gateway.

NOTE: most methods are synchronized to avoid dealing with concurrency issues with startup/shutdown, and that's not on any hot path. Can be reconsidered if this is not true anymore, or not the only constraint.