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

[receiver/solacereceiver] Updates Solace Receiver for compatibility with Solace PubSub+ Event Broker 10.2.0 #15244

Merged
merged 23 commits into from
Oct 18, 2022

Conversation

mcardy
Copy link
Contributor

@mcardy mcardy commented Oct 18, 2022

Description: A variety of fixes and improvements. Most notably:

  • Updates to the 10.2.0 (GA) Solace tracing protobuf spec
  • Adjusts unmarshalling of payload data
  • Scopes metrics to the receiver name rather than global namespace adding support for multiple receivers on the same collector

Link to tracking Issue: None

Testing: For all changes and fixes, tests have been added/updated

Documentation: No major changes to documentation

@djaglowski

This allows forward compatibility in the event that new entries are added in the future

SOL-78861
OpenTelemetry+backends do not support the Bytes type, and instead support a slice of integers

SOL-78624
…dpoint name> enqueue', even for anonymous endpoints

Also removes messaging.destination as an attribute on enqueue events as its now redundant

SOL-79098
In this case, the message will be dropped and stats incremented

SOL-79796
Working around Azure/go-amqp#126 by batching dispositions

SOL-79806
@mcardy mcardy requested a review from a team October 18, 2022 13:19
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me at a glance. Do you want to add a changelog entry?

@mcardy
Copy link
Contributor Author

mcardy commented Oct 18, 2022

@djaglowski added it, though at first added it to unreleased rather than .chloggen. All fixed now.

@djaglowski
Copy link
Member

at first added it to unreleased rather than .chloggen. All fixed now.

Thanks for pointing that out. Looks like we had a few PRs slip through after the change.

@djaglowski djaglowski merged commit fa933d6 into open-telemetry:main Oct 18, 2022
shalper2 pushed a commit to shalper2/opentelemetry-collector-contrib that referenced this pull request Dec 6, 2022
…ith Solace PubSub+ Event Broker 10.2.0 (open-telemetry#15244)

* Use modify message instead of reject message to indicate failure

SOL-75279

* Set delivery mode on propagated spans

SOL-75196

* Added character type to user property mapping

SOL-75145

* Changed dropped_user_properties to dropped_application_message_properties

SOL-74920

* Updated protobuf spec, incorporated transactional changes

SOL-75362

* Scoped metrics to receiver instances based on instance name if present

SOL-75870, SOL-74853

* Made delivery mode mapped strings lowercase

SOL-75196

* Use string of length 1 instead of int for character value mapping

SOL-75145

* Gracefully handle enums beyond the current known set

This allows forward compatibility in the event that new entries are added in the future

SOL-78861

* Use the slice type in the attribute map when mapping user properties

OpenTelemetry+backends do not support the Bytes type, and instead support a slice of integers

SOL-78624

* Revert "Use the slice type in the attribute map when mapping user properties"

This reverts commit 48b9730.

* Change name of Enqueue Event in OpenTelemetry Spans to always be '<endpoint name> enqueue', even for anonymous endpoints

Also removes messaging.destination as an attribute on enqueue events as its now redundant

SOL-79098

* Handle the case of an empty payload, returning an error

In this case, the message will be dropped and stats incremented

SOL-79796

* Fixed an issue causing AcceptMessage to hang indefinitely

Working around Azure/go-amqp#126 by batching dispositions

SOL-79806

* Revert "Fixed an issue causing AcceptMessage to hang indefinitely"

This reverts commit bf61326.
@plantfansam plantfansam mentioned this pull request Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants