This adjusts the `PulsarTemplate` to log a warning when a user provides a `ProducerBuilderCustomizer` that is implemented as a Java Lambda. This is important as the customizer is used as part of the producer cache key and if not implemented properly will effectively disable producer caching and write performance will degrade. See #809
17 lines
711 B
XML
17 lines
711 B
XML
<configuration>
|
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
|
<encoder>
|
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger - %msg%n</pattern>
|
|
</encoder>
|
|
</appender>
|
|
<root level="WARN">
|
|
<appender-ref ref="STDOUT"/>
|
|
</root>
|
|
<logger name="org.testcontainers" level="ERROR"/>
|
|
<logger name="com.github.dockerjava" level="ERROR"/>
|
|
<logger name="org.springframework.pulsar.function" level="INFO"/>
|
|
<logger name="org.springframework.pulsar.inttest.app" level="INFO"/>
|
|
<logger name="org.springframework.pulsar.inttest.config" level="INFO"/>
|
|
<logger name="org.springframework.pulsar.inttest.logging" level="INFO"/>
|
|
</configuration>
|