-
Notifications
You must be signed in to change notification settings - Fork 353
Add more support with Spring for Apache Kafka #921
Conversation
Depends on: spring-projects/spring-kafka#1881 |
/CC @garyrussell |
return args -> { | ||
template.send("graal", "foo"); | ||
template.send("graal", new Greeting("Hello from GraalVM!")); | ||
System.out.println("++++++Sent:foo"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to match?
Didn't you test it? You need to update the verify.sh https://github.com/spring-projects-experimental/spring-native/blob/main/samples/kafka/verify.sh |
Huh? What is that? Never used those |
* Add missed `JsonDeserializer` into type hints * Add `@InitializationHint` for some `spring-kafka` JSON components which need to initialize their `static` props for `ClassUtils.isPresent()` * Improve `kafka` sample for JSON data interaction * Add a `@TypeHint` for end-user data classes used in the sample * Improve `docker-compose.yml` for extra image of the current `kafka` sample
* Fix `verify.sh` for expectations after image run
b608e32
to
432edb2
Compare
Repushed after rebasing to |
Hmmm - on MacOS:
|
Correct. You must build and install locally the main project first. |
Ah; ok; sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; however since it needs a spring-kafka snapshot, it can't be merged unless there are no plans for a release before August 16 (when spring-kafka 2.7.5 will be released). But I could consider releasing it earlier than that, if needed.
Well, there is no strong dependency on spring-kafka in the main project. Right now it is only a matter of a sample. |
JsonDeserializer
into type hints@InitializationHint
for somespring-kafka
JSON componentswhich need to initialize their
static
props forClassUtils.isPresent()
kafka
sample for JSON data interaction@TypeHint
for end-user data classes used in the sampledocker-compose.yml
for extra image of the currentkafka
sample