You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/15 18:35:33 UTC
[GitHub] [pulsar] noelo opened a new issue #14697: Class version conflicts in Pulsar Functions runtime image dependencies
noelo opened a new issue #14697:
URL: https://github.com/apache/pulsar/issues/14697
**Describe the bug**
If you build a pulsar function with a different pulsar client version than the one shipped in the Kubernetes function runtime a
java.lang.IncompatibleClassChangeError: Implementing class exception is thrown.
**To Reproduce**
Build a function using pulsar libraries using 2.9.1.
The function will use the context and require the pulsar-client dependency
Deploy the function to a kubernetes runtime which contains an earlier version of pulsar (at time of writing 2.7.4).
Trigger the function and the "java.lang.IncompatibleClassChangeError: Implementing class exception" is thrown.
To fix ensure that you build the function with the same version as in the runtime e.g. 2.7.4
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org