[
https://issues.apache.org/jira/browse/CAMEL-15879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239677#comment-17239677
]
Jiri Ondrusek commented on CAMEL-15879:
---------------------------------------
Upgrade to avro 1.10.1 brings change to netty 4.x. Among other it involves
longer times required to close netty server (it takes about 4 seconds -
[PR|[https://github.com/apache/avro/commit/d2d5663076d9c4a5b92b7102a21217a5c8cf6115#diff-3b49ec5d308d4a1ed5a80c9c41fc6c5c2173985033470c6531a9a1fb93a72edaR111]]).
Even with optimization, there is need to close netty server 36 times (for all
tests in the module).
Which means that the time taken by all the tests is much higher. On my local
computer it takes *0:29* before upgrade and *2:44* after upgrade. I'm not sure
whether it is acceptable or if some tests should be moved among slower tests.
*[~acosentino],* you are right. *Unfortunately it is not possible to update
karaf feature*.
`avro-ipc-jetty` requires javax.servlet.api >= 4.0 and also jetty server. But
there is no jetty server available as karaf feature which is using servlet-api
>= 4.0.
The only solution is to wait for Jetty 10...
Refactored tests are prepared in my branch
[https://github.com/JiriOndrusek/camel/tree/avro-rpc-10.1]
> Update avro version to 1.10.x (1.10.0)
> --------------------------------------
>
> Key: CAMEL-15879
> URL: https://issues.apache.org/jira/browse/CAMEL-15879
> Project: Camel
> Issue Type: Improvement
> Components: camel-avro
> Affects Versions: 3.7.0
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Priority: Major
>
> Current avro used in camel is *1.9.1* (see
> [code|https://github.com/apache/camel/blob/master/parent/pom.xml#L77])
> Quarkus (and camel-quarkus) are using *1.10.0* (see
> [code|https://github.com/quarkusio/quarkus/blob/master/bom/application/pom.xml#L210])
> It would be nice to bump avro version in camel to 1.10.0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)