use of org.apache.kafka.streams.StreamsMetrics in project kafka by apache.
the class RocksDBWindowStoreSupplierTest method shouldHaveMeteredStoreWhenCached.
@SuppressWarnings("unchecked")
@Test
public void shouldHaveMeteredStoreWhenCached() throws Exception {
store = createStore(false, true);
store.init(context, store);
final StreamsMetrics metrics = context.metrics();
assertFalse(metrics.metrics().isEmpty());
}
Aggregations