-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spike] Trigger for messaging systems #2983
Comments
Team, giving a heads up about this issue: I believe that we can focus on implementing the trigger using the AMQP protocol first and later on MQTT since most of the open-source message brokers support them. There are discussions on Trace-Context standardization on both protocols (here and here). In case of failure, I think that Plan B could implement direct messaging to the following platforms (in order of priority): @kdhamric @olha23, as soon as I get an answer, I will get the required fields that we need to configure the trigger to work on the design of the CLI and FE. |
Team, for the first version, we'll focus on two messaging systems:
Kafka Specs: #2983 (comment) |
KafkaTo use Kafka, the trigger will need the following data: Kafka connection:
A "Plain" authentication has a plain user and password. Message fields (based on Kafka Record format):
Some examples of UI to publish messages to Kafka can be seen here:
A Test trigger YAML for Kafka could be something like this: type: Test
spec:
id: jFpHiL34R
name: Test Kafka Message Publishing
trigger:
type: kafka
kafka:
brokerUrls:
- kafka-1:9092
- kafka-2:9092
topic: ExampleMessage
headers:
- key: my-header
value: my-value
messageKey: "message-key"
messageValue: "{\n \"hello\": \"kafka!\"\n}"
specs:
- selector: span[tracetest.span.type="messaging" name="messaging receive" messaging.system="kafka" messaging.operation="receive"]
name: It processed a message from Kafka
assertions:
- attr:tracetest.selected_spans.count = 1
|
@danielbdias can you please check the mockups and left comment if something wrong? https://www.figma.com/file/nXy4eBvpiQ3P4Jer0ogJOw/v0.11-release?type=design&node-id=859%3A3988&mode=design&t=90tw4FnqB8asvk7n-1 |
Folks, about Kafka authentication: looking deeper into the documentation, I've found the documentation for SASL on Kafka:
On this first version, I plan to support only "Plain / SCRAM" authentication that uses just a User/Password. In the future, we can add more options to it. |
Sounds good Daniel. As we get users with other auth needs we can add them. |
We need to research how we can add a trigger for messaging systems (message queues / streams) on Tracetest (Kafka, RabbitMQ, etc) and plan how to include this feature on Tracetest
The text was updated successfully, but these errors were encountered: