public KafkaZipkinTracer() { this(Config.builder().build(), DefaultStatsReceiver$.MODULE$.get().scope("zipkin.kafka"));}
public static KafkaZipkinTracer create(String bootstrapServers, StatsReceiver stats) { return new KafkaZipkinTracer(Config.builder().bootstrapServers(bootstrapServers).build(), stats);}
public static KafkaZipkinTracer create(Config config, StatsReceiver stats) { return new KafkaZipkinTracer(config, stats);}
tracer = new KafkaZipkinTracer(KafkaSender.newBuilder()
.bootstrapServers(config.bootstrapServers())
.topic(config.topic())
.overrides(overrides)
.build(), config, stats);
KafkaZipkinTracer(KafkaSender kafka, Config config, StatsReceiver stats)
--
---
You received this message because you are subscribed to the Google Groups "zipkin-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/6e63b784-17aa-427f-b377-aeabe06dec46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
tracer = new KafkaZipkinTracer(KafkaSender.newBuilder()
.bootstrapServers(config.bootstrapServers())
.topic(config.topic())
.overrides(overrides
)
.encoding(encoding(tracingConfig))
.build(), config, stats);
val kafkaProperties = new java.util.HashMap[String, Any]() kafkaProperties.put(SslConfigs.SSL_KEYSTORE_LOCATION_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_KEYSTORE_PASSWORD_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_KEY_PASSWORD_CONFIG, /* something */ ) kafkaProperties.put(SslConfigs.SSL_TRUSTSTORE_LOCATION_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_TRUSTSTORE_PASSWORD_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_KEYSTORE_TYPE_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_TRUSTSTORE_TYPE_CONFIG, /* something */) kafkaProperties.put(SslConfigs.SSL_ENABLED_PROTOCOLS_CONFIG, /* something */)
kafkaProperties.put(ProducerConfig.ACKS_CONFIG, /* something */) kafkaProperties.put(CommonClientConfigs.SECURITY_PROTOCOL_CONFIG, /* something */)
To unsubscribe from this group and stop receiving emails from it, send an email to zipki...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/e8170daa-9eae-4fda-a186-e3ce34bad011%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user+unsubscribe@googlegroups.com.
Runtime.getRuntime().addShutdownHook(new Thread(() -> { |
try { |
sender.close(); // Release any network resources used to send spans |
} catch (IOException e) { |
Logger.getAnonymousLogger().warning("error closing trace sender: " + e.getMessage()); |
} |
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/9d4a0742-9d9c-4307-9448-4b2265c2e507%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/9d4a0742-9d9c-4307-9448-4b2265c2e507%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to zipkin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/6a4d8df7-1d25-4b9e-80a0-1a1530a7ecd9%40googlegroups.com.
lol those docs drifted. the method signature no longer accepts a
sender. it closes the reporter given to it! I'll update the docs.
>>> To view this discussion on the web visit https://groups.google.com/d/msgid/zipkin-user/6a4d8df7-1d25-4b9e-80a0-1a1530a7ecd9%40googlegroups.com.