Skip to content

Conversation

@onobc
Copy link
Contributor

@onobc onobc commented Mar 15, 2024

Spring Pulsar 1.0.4-SNAPSHOT now includes a fix to properly cache any user-provided producer interceptors.
The fix changes an internal implementation detail of 'PulsarTemplate'. The 'List interceptors'
field is now 'List<ProducerBuilderCustomizer> interceptorsCustomizers'. This commit adjusts the PulsarAutoConfigurationTests to use the new list of interceptor customizers.

@onobc onobc changed the base branch from main to 3.2.x March 15, 2024 04:40
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 15, 2024
The PulsarTemplate recently replaced its list of ProducerInterceptors
with a list of ProducerBuilderCustomizers that customize the builder by
adding each interceptor to the builder. The PulsarAutoConfigurationTests
previosuly relied on the previous field. This commit adjusts the tests
to instead use the Customizers testing utility to verify the
interceptors.

See spring-projectsgh-39912

(cherry picked from commit 9c054a0)
@onobc onobc force-pushed the cbono-pulsar-adjust-interceptor-tests branch from 9b983cd to be64d5e Compare March 15, 2024 05:38
@mhalbritter mhalbritter added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 15, 2024
@mhalbritter mhalbritter modified the milestones: 3.3.x, 3.2.x Mar 15, 2024
mhalbritter pushed a commit that referenced this pull request Mar 15, 2024
The PulsarTemplate recently replaced its list of ProducerInterceptors
with a list of ProducerBuilderCustomizers that customize the builder by
adding each interceptor to the builder. The PulsarAutoConfigurationTests
previosuly relied on the previous field. This commit adjusts the tests
to instead use the Customizers testing utility to verify the
interceptors.

(cherry picked from commit 9c054a0)

See gh-39946
@mhalbritter
Copy link
Contributor

Thanks!

@mhalbritter mhalbritter modified the milestones: 3.2.x, 3.2.4 Mar 15, 2024
@onobc onobc deleted the cbono-pulsar-adjust-interceptor-tests branch May 28, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants