@Test void notSupported() { assertThatThrownBy(() -> KafkaStorage.newBuilder().strictTraceId(false)) .isInstanceOf(IllegalArgumentException.class); }
@Override public KafkaStorageBuilder strictTraceId(boolean strictTraceId) { if (!strictTraceId) throw new IllegalArgumentException("non-strict trace ID not supported"); return this; }
KafkaStorageBuilder extends StorageComponent.Builder { @Override public KafkaStorageBuilder strictTraceId(boolean strictTraceId) { if (!strictTraceId) throw new IllegalArgumentException("non-strict trace ID not supported"); return this; } }
KafkaStorageBuilder extends StorageComponent.Builder { @Override public KafkaStorageBuilder strictTraceId(boolean strictTraceId) { if (!strictTraceId) throw new IllegalArgumentException("non-strict trace ID not supported"); return this; } KafkaStorageBuilder(); }
KafkaStorageBuilder extends StorageComponent.Builder { @Override public KafkaStorageBuilder strictTraceId(boolean strictTraceId) { if (!strictTraceId) throw new IllegalArgumentException("non-strict trace ID not supported"); return this; } KafkaStorageBuilder(); @Override KafkaStorageBuilder strictTraceId(boolean strictTraceId); @Override KafkaStorageBuilder searchEnabled(boolean searchEnabled); @Override KafkaStorageBuilder autocompleteKeys(List<String> keys); KafkaStorageBuilder bootstrapServers(String bootstrapServers); KafkaStorageBuilder storageStateDir(String storageStateDir); final KafkaStorageBuilder overrides(Map<String, ?> overrides); KafkaStorageBuilder hostname(String hostname); KafkaStorageBuilder serverPort(int serverPort); KafkaStorageBuilder spanPartitioningBuilder(SpanPartitioningBuilder builder); KafkaStorageBuilder spanAggregationBuilder(SpanAggregationBuilder builder); KafkaStorageBuilder traceStorageBuilder(TraceStorageBuilder builder); KafkaStorageBuilder dependencyStorageBuilder(DependencyStorageBuilder builder); @Override StorageComponent build(); }
KafkaStorageBuilder extends StorageComponent.Builder { @Override public KafkaStorageBuilder strictTraceId(boolean strictTraceId) { if (!strictTraceId) throw new IllegalArgumentException("non-strict trace ID not supported"); return this; } KafkaStorageBuilder(); @Override KafkaStorageBuilder strictTraceId(boolean strictTraceId); @Override KafkaStorageBuilder searchEnabled(boolean searchEnabled); @Override KafkaStorageBuilder autocompleteKeys(List<String> keys); KafkaStorageBuilder bootstrapServers(String bootstrapServers); KafkaStorageBuilder storageStateDir(String storageStateDir); final KafkaStorageBuilder overrides(Map<String, ?> overrides); KafkaStorageBuilder hostname(String hostname); KafkaStorageBuilder serverPort(int serverPort); KafkaStorageBuilder spanPartitioningBuilder(SpanPartitioningBuilder builder); KafkaStorageBuilder spanAggregationBuilder(SpanAggregationBuilder builder); KafkaStorageBuilder traceStorageBuilder(TraceStorageBuilder builder); KafkaStorageBuilder dependencyStorageBuilder(DependencyStorageBuilder builder); @Override StorageComponent build();  }