Open dipengfei opened 4 years ago
Sure, we'll take a look. Thanks for reporting
@dmittriy13 in case you're interested to look at something Kotlin-related
This is most likely s-c-function issue. Let me know if you can tackle it
@dmittriy13 in case you're interested to look at something Kotlin-related
This is most likely s-c-function issue. Let me know if you can tackle it
I can watch it on the weekend
Dear Spring Cloud Stream Team,
I'm trying to practice Spring Cloud Stream with Kotlin, and below code works well as a simple producer,
And the
application.properties
is also quite simple,The entire project can be found here.
But if I switch the bean configuration style from
@Bean
annotation to Kotlin DSL, it doesn't work, the code looks like,and below exception occurred,
I was doing some debug and found the issue should has something to do with FunctionConfiguration, in method
extractPollableAnnotation
, it seems thesource
object is always null under Kotlin DSL mode.May I know if it's possible to enhance it to support Kotlin DSL? Thanks in advance.