![JAR search and dependency download from the Maven repository](/logo.png)
org.opensearch.migrations.trafficcapture.kafkaoffloader.tracing.IRootKafkaOffloaderContext Maven / Gradle / Ivy
package org.opensearch.migrations.trafficcapture.kafkaoffloader.tracing;
import org.opensearch.migrations.tracing.IInstrumentConstructor;
import org.opensearch.migrations.tracing.commoncontexts.IConnectionContext;
public interface IRootKafkaOffloaderContext extends IInstrumentConstructor {
KafkaRecordContext.MetricInstruments getKafkaOffloadingInstruments();
default KafkaRecordContext createKafkaRecordContext(
IConnectionContext telemetryContext,
String topicNameForTraffic,
String recordId,
int length
) {
return new KafkaRecordContext(this, telemetryContext, topicNameForTraffic, recordId, length);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy