Skip to content
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

Messaging: publish operation type is pub/sub/topic specific #1285

Closed
lmolkova opened this issue Jul 26, 2024 · 3 comments · Fixed by #1422
Closed

Messaging: publish operation type is pub/sub/topic specific #1285

lmolkova opened this issue Jul 26, 2024 · 3 comments · Fixed by #1422
Assignees

Comments

@lmolkova
Copy link
Contributor

Extracted from #1205

messaging.operation.type = publish is specific to pub/sub/topic.

send would sound more neutral and apply to pub/sub and MQ. E.g. GCP pub/sub, Azure EventHubs and Kafka use send.

We should consider changing operation type and also metric name to use send.

@mamwl1
Copy link
Contributor

mamwl1 commented Aug 14, 2024

The JMS spec, https://jakarta.ee/specifications/messaging/3.0/jakarta-messaging-spec-3.0.pdf, also uses send.
For example see: https://jakarta.ee/specifications/platform/8/apidocs/javax/jms/jmsproducer which has a set of send and receive methods which apply to both queues and topics.

@pyohannes
Copy link
Contributor

E.g. GCP pub/sub, Azure EventHubs and Kafka use send.

Ironically, RabbitMQ prefers the term "publish" 😄 .

I'm not generally opposed to using the term "send", however, I think we should be consistent.

Currently we give this definition in semantic conventions, establishing the term for messaging semantic conventions:

"Publishing" is the process of sending a message or batch of messages to the intermediary or consumer.

Do you think we should then generally revise our use of the term "publish" in messaging semantic conventions, and go with "send" instead?

@mamwl1
Copy link
Contributor

mamwl1 commented Sep 18, 2024

Yes, I was going to propose adjusting the docs to use send generally instead of publish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: V1 - Stable Semantics
Development

Successfully merging a pull request may close this issue.

4 participants