use of org.apache.kafka.test.DelayedReceive in project kafka by apache.
the class NetworkClientTest method maybeSetExpectedApiVersionsResponse.
private void maybeSetExpectedApiVersionsResponse() {
ByteBuffer buffer = ApiVersionsResponse.API_VERSIONS_RESPONSE.serialize((short) 0, new ResponseHeader(0));
selector.delayedReceive(new DelayedReceive(node.idString(), new NetworkReceive(node.idString(), buffer)));
}
Aggregations