Search in sources :

Example 1 with Builder

use of io.confluent.ksql.rest.server.LagReportingAgent.Builder in project ksql by confluentinc.

the class LagReportingAgentTest method setUp.

@Before
public void setUp() {
    when(serviceContext.getKsqlClient()).thenReturn(ksqlClient);
    Builder builder = LagReportingAgent.builder();
    lagReportingAgent = builder.clock(clock).build(ksqlEngine, serviceContext);
    lagReportingAgent.setLocalAddress(LOCALHOST_URL);
}
Also used : Builder(io.confluent.ksql.rest.server.LagReportingAgent.Builder) Before(org.junit.Before)

Aggregations

Builder (io.confluent.ksql.rest.server.LagReportingAgent.Builder)1 Before (org.junit.Before)1