I created PIP-243, https://github.com/apache/pulsar/issues/19243 . Since this is already discussed in this thread, I'll open it directly for voting.
-Lari On 2023/01/09 11:05:35 Lari Hotari wrote: > Hi all, > > Jackson has a separate Java 8 support modules for adding support for proper > serialization and deserialization of new classes that were added in Java 8 > (Java 8 was released in 2014). > > These Jackson Java 8 support modules haven't been used in the Pulsar code > base. This is a pity. This causes a lot of pain when using Java Time classes > in Pulsar applications or Pulsar Functions. There are ways to get the classes > working for applications, but the documentation is missing. It would make > things easier if the Java 8 support modules for Jackson would be included and > registered by default. > > I have created a PR to register Jackson Java 8 support modules by default for > all Pulsar components. The PR is https://github.com/apache/pulsar/pull/19161 . > > Please review and provide feedback. Do we need a PIP for this change? > > -Lari >