-
Ask a questionWhen I upload example. Kafka custom partitioner:
what is package of this class? Ass I need to reference it in camel kafka component by class. I tried many different approaches but I can not get it work, I am getting error there is no class. What is the package of upldoaded file, as I need to provide it obviously ? VariantNone Container Management (if applicable)None Operating System (if applicable)None VersionNone |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I believe that package should be related to your |
Beta Was this translation helpful? Give feedback.
-
this code is wrong
/ByKeyPartitioner.java:10: error: incompatible types: java.lang.String cannot be converted to int |
Beta Was this translation helpful? Give feedback.
-
This can run Put in
And fix that compilation error in your java code Here is yaml-dsl that runs for me
|
Beta Was this translation helpful? Give feedback.
-
You can also add in top of your java source, instead of setting dependency in
|
Beta Was this translation helpful? Give feedback.
You can also add in top of your java source, instead of setting dependency in
application.properties