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

NoSuchMethod error when using the non-shaded Pulsar client and configuring authentications parameters #39389

Conversation

onobc
Copy link
Contributor

@onobc onobc commented Feb 3, 2024

This commit removes the use of the Pulsar ObjectMapperFactory when converting the authentication config props map to a JSON string. The Pulsar factory operates on a shaded returned value of Jackson ObjectMapper which may not exist when users are using the non-shaded version of the Pulsar client lib.

See spring-projects/spring-pulsar#562

This commit removes the use of the Pulsar ObjectMapperFactory when
converting the authentication config props map to a JSON string. The
Pulsar factory operates on a shaded returned value of Jackson
ObjectMapper which may not exist when users are using the
non-shaded version of the Pulsar client lib.

See spring-projects/spring-pulsar#562
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 3, 2024
@wilkinsona wilkinsona changed the title Remove use of Pulsar ObjectMapperFactory NoSuchMethod error when using the non-shaded Pulsar client and configuring authentications parameters Feb 4, 2024
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 4, 2024
@wilkinsona wilkinsona added this to the 3.2.x milestone Feb 4, 2024
@mhalbritter mhalbritter self-assigned this Feb 6, 2024
mhalbritter pushed a commit that referenced this pull request Feb 6, 2024
This commit removes the use of the Pulsar ObjectMapperFactory when
converting the authentication config props map to a JSON string. The
Pulsar factory operates on a shaded returned value of Jackson
ObjectMapper which may not exist when users are using the
non-shaded version of the Pulsar client lib.

See spring-projects/spring-pulsar#562

See gh-39389
@mhalbritter
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants