Comments (2)
Looks like we have overseen this scenario when we tested Kotlin support for @KafkaListener
:
@KafkaListener(id = "kotlin", topics = ["kotlinTestTopic1"], containerFactory = "kafkaListenerContainerFactory")
fun listen(value: String) {
this.received = value
this.latch1.countDown()
}
That String
is indeed not a Kotlin type 😄 .
Feel free to contribute the fix as you have just explained.
And I guess with respective fix for that EnableKafkaKotlinTests.
test listener()
test and its configuration with the mentioned listen()
method.
Thanks
from spring-kafka.
@artembilan Thank you for your feedback on my opinion.
Okay, then I will submit a pull request to resolve this issue.
Also, I will check the test code that you mentioned to me, and improved it too.
from spring-kafka.
Related Issues (20)
- Possible inconsistency in DLT topic naming convention
- Prevent Embedded Kafka logs auto delete HOT 3
- read-committed breaks async-acks HOT 2
- Batch Listener when encountered a poison pill, records after that poison pill are moved to next poll. HOT 6
- getUnregisteredListenerContainer return null HOT 4
- getUnregisteredListenerContainer return null
- getUnregisteredListenerContainer return null HOT 1
- Mismatch Between Registered and Found Callbacks in Multi-group Listener Cases HOT 7
- Request to consider providing default ApplicationListener to stop the SpringBoot Kafka Consumer application on container failures HOT 9
- No replacement for KafkaSendCallback was found. HOT 1
- Cannot read field "internalTopologyBuilder" because "topology" is null HOT 4
- ConcurrentMessageListenerContainer isChildRunning API is returning false even though active MessageListenerContainer instances are processing messages. HOT 11
- Application receiving ContainerStoppedEvent even though active MessageListenerContainer instances are processing messages. HOT 16
- Support customer-defined MessagConverter in @KafkaListener annotated method. HOT 1
- The `KafkaListenerEndpointRegistry` refactoring for `List.isEmpty()` instead of `List.size() > 0`
- Fence the MessageLisnterContainer restart once the ConcurrentMessageListenerContainer is stopped HOT 3
- Revise `AbstractConsumerSeekAware.onPartitionsAssigned()` for concurreny HOT 17
- ConcurrentKafkaListenerContainerFactory to handle multiple RecordInterceptors HOT 6
- KafkaConsumer.close() no longer triggers the DefaultKafkaConsumerFactory.listener.removeConsumer() HOT 2
- BatchMessagingMessageConverter loses headers from ConsumerRecord HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-kafka.