Closed Raunak-S closed 3 years ago
great work! a few minor questions:
- why did the Maven dependency change from
kafka-clients
(2.1.0) tokafka_2.11
? was it just to move from 2.1.0 to 2.11? or is this implying more jars would get packaged into the war'sWEB-INF/lib
, as we need more than just the client part of Kafka now? does mpRM need more dependencies than the raw Kafka client stuff I'd been using?- I see a new truststore (
trust.p12
). did you copy it from one of my other microservices (I created one and copied it to all the others), or do you make a new one? just curious - I remember when I made mine I had to specify that they don't expire for like 30 years, so it doesn't go bad on us a year from now (our last ones did expire and one day stuff stopped working!)- did you put a new cert (for Mongo? or Event Streams?) in the truststore? or are you getting that from the cert the operator is now passing in from the config map as an env var? I'd assumed the latter
- did you also create or modify the keystore (
key.p12
)? I don't see it in the PR, but I do see a new stanza referencing it in the server.xml- where does the
microprofile-config.xml
end up in the Docker image? is it in the war file? or just a file copied into the Docker container? I didn't see a change in theDockerfile
- not a big deal, but listing
mpConfig-1.4
in the server.xml is redundant, because I already list the "umbrella" featuremicroProfile-3.3
in the server.xml. this actually causes it to include all of the core MP features, which includesmpConfig
. note thatmpRM
is NOT a core feature, so it does have to be explicitly listed (as you did!)- note that next week Liberty 21.0.0.3 should show up on DockerHub, which will have the GA of MP 4.0. so I'll update all the microservices to all say the new
microProfile-4.0
then (along with updating the Maven dependency to MP 4.0 in each pom.xml).- but we'll need to check with Emily if
mpRM
will work with MP 4.0; she had said it could be incompatible (for reasons I didn't fully understand), requiring them to release an updatedmpRM
(like anmpReactiveMessaging-1.0.1
or something) to work withmicroProfile-4.0
- Emily will be excited that Stock Trader will now show off
mpRM
too, for our MP 4.0 book!
no worries. for the questions:
great work! a few minor questions:
kafka-clients
(2.1.0) tokafka_2.11
? was it just to move from 2.1.0 to 2.11? or is this implying more jars would get packaged into the war'sWEB-INF/lib
, as we need more than just the client part of Kafka now? does mpRM need more dependencies than the raw Kafka client stuff I'd been using?trust.p12
). did you copy it from one of my other microservices (I created one and copied it to all the others), or do you make a new one? just curious - I remember when I made mine I had to specify that they don't expire for like 30 years, so it doesn't go bad on us a year from now (our last ones did expire and one day stuff stopped working!)key.p12
)? I don't see it in the PR, but I do see a new stanza referencing it in the server.xmlmicroprofile-config.xml
end up in the Docker image? is it in the war file? or just a file copied into the Docker container? I didn't see a change in theDockerfile
mpConfig-1.4
in the server.xml is redundant, because I already list the "umbrella" featuremicroProfile-3.3
in the server.xml. this actually causes it to include all of the core MP features, which includesmpConfig
. note thatmpRM
is NOT a core feature, so it does have to be explicitly listed (as you did!)microProfile-4.0
then (along with updating the Maven dependency to MP 4.0 in each pom.xml).mpRM
will work with MP 4.0; she had said it could be incompatible (for reasons I didn't fully understand), requiring them to release an updatedmpRM
(like anmpReactiveMessaging-1.0.1
or something) to work withmicroProfile-4.0
mpRM
too, for our MP 4.0 book!