Kafka:
brew install kafka
brew services start zookeeper
brew services start kafka
:brod.produce_sync_offset(:client1, "foo", :random, "the key", "the value")
-
Extract trace context from message kafka headers and use in dlc send
-
Use link?
-
service.name is wrong Set service.name in span?
# {"service.name", @app}, # {"peer.service", @app},
-
Log time is wrong (very large)
-
set_status is not working?
-
Use retries for error handling
-
Maybe sleep
start_time = System.monotonic_time()
result = process_message(message, state)
processing_duration = System.monotonic_time() - start_time