-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added hints of rocketmq module #3400
Merged
ruansheng8
merged 3 commits into
alibaba:2022.x
from
steverao:2022.x-0724-add_rocketmq_hints
Jul 23, 2023
Merged
added hints of rocketmq module #3400
ruansheng8
merged 3 commits into
alibaba:2022.x
from
steverao:2022.x-0724-add_rocketmq_hints
Jul 23, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruansheng8
reviewed
Jul 23, 2023
...-INF/native-image/com.alibaba.cloud/spring-cloud-starter-stream-rocketmq/reflect-config.json
Outdated
Show resolved
Hide resolved
使用 2023-07-23T18:28:00.029+08:00 INFO 8424 --- [ main] .b.RocketMQBroadcastConsumer1Application : Started RocketMQBroadcastConsumer1Application in 0.359 seconds (process running for 0.364)
2023-07-23T18:28:09.727+08:00 WARN 8424 --- [cast-consumer_1] .s.b.r.i.i.RocketMQInboundChannelAdapter : consume message failed. messageExt:MessageExt [brokerName=DESKTOP-MCODKCP, queueId=3, storeSize=315, queueOffset=600, sysFlag=0, bornTimestamp=1690108086674, bornHost=/192.168.2.15:57035, storeTimestamp=1690108086675, storeHost=/192.168.2.15:10911, msgId=C0A8020F00002A9F000000000021E8B5, commitLogOffset=2222261, bodyCRC=1707123325, reconsumeTimes=0, preparedTransactionOffset=0, toString()=Message{topic='broadcast', flag=0, properties={MIN_OFFSET=0, MAX_OFFSET=601, KEYS=KEY2, CONSUME_START_TIME=1690108086714, id=b52511bf-440b-7376-2ee2-47d6fc69db05, UNIQ_KEY=7F00000152FC63947C6B754269920004, CLUSTER=DefaultCluster, contentType=application/json, target-protocol=kafka, timestamp=1690108086674}, body=[123, 34, 109, 115, 103, 34, 58, 34, 72, 101, 108, 108, 111, 32, 82, 111, 99, 107, 101, 116, 77, 81, 32, 50, 34, 125], transactionId='null'}]
org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel '65802972.consumer-in-0.errors'.
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:76) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.sendInternal(AbstractMessageChannel.java:373) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:327) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:297) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:187) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:166) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:47) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:109) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:99) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.integration.core.ErrorMessagePublisher.publish(ErrorMessagePublisher.java:168) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.handler.advice.ErrorMessageSendingRecoverer.recover(ErrorMessageSendingRecoverer.java:83) ~[na:na]
at org.springframework.retry.support.RetryTemplate.handleRetryExhausted(RetryTemplate.java:543) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:389) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:225) ~[rocketmq-broadcast-consumer1-example.exe:na]
at com.alibaba.cloud.stream.binder.rocketmq.integration.inbound.RocketMQInboundChannelAdapter.consumeMessage(RocketMQInboundChannelAdapter.java:162) ~[na:na]
at com.alibaba.cloud.stream.binder.rocketmq.integration.inbound.RocketMQInboundChannelAdapter.lambda$onInit$5(RocketMQInboundChannelAdapter.java:124) ~[na:na]
at org.apache.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService$ConsumeRequest.run(ConsumeMessageConcurrentlyService.java:402) ~[rocketmq-broadcast-consumer1-example.exe:4.9.4]
at java.base@17.0.5/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na]
at java.base@17.0.5/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[rocketmq-broadcast-consumer1-example.exe:na]
at java.base@17.0.5/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[rocketmq-broadcast-consumer1-example.exe:na]
at java.base@17.0.5/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base@17.0.5/java.lang.Thread.run(Thread.java:833) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178) ~[na:na]
Caused by: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
at org.springframework.integration.dispatcher.BroadcastingDispatcher.dispatch(BroadcastingDispatcher.java:153) ~[na:na]
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:72) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
... 23 common frames omitted
2023-07-23T18:28:12.743+08:00 WARN 8424 --- [cast-consumer_1] .s.b.r.i.i.RocketMQInboundChannelAdapter : consume message failed. messageExt:MessageExt [brokerName=DESKTOP-MCODKCP, queueId=0, storeSize=315, queueOffset=600, sysFlag=0, bornTimestamp=1690108086675, bornHost=/192.168.2.15:57035, storeTimestamp=1690108086676, storeHost=/192.168.2.15:10911, msgId=C0A8020F00002A9F000000000021E9F0, commitLogOffset=2222576, bodyCRC=1677903946, reconsumeTimes=0, preparedTransactionOffset=0, toString()=Message{topic='broadcast', flag=0, properties={MIN_OFFSET=0, MAX_OFFSET=601, KEYS=KEY3, CONSUME_START_TIME=1690108089729, id=28470a01-a4d0-a688-9fe3-4c1fcffbe673, UNIQ_KEY=7F00000152FC63947C6B754269930006, CLUSTER=DefaultCluster, contentType=application/json, target-protocol=kafka, timestamp=1690108086675}, body=[123, 34, 109, 115, 103, 34, 58, 34, 72, 101, 108, 108, 111, 32, 82, 111, 99, 107, 101, 116, 77, 81, 32, 51, 34, 125], transactionId='null'}]
org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel '65802972.consumer-in-0.errors'.
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:76) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.sendInternal(AbstractMessageChannel.java:373) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:327) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:297) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:187) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:166) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.GenericMessagingTemplate.doSend(GenericMessagingTemplate.java:47) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:109) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.messaging.core.AbstractMessageSendingTemplate.send(AbstractMessageSendingTemplate.java:99) ~[rocketmq-broadcast-consumer1-example.exe:6.0.4]
at org.springframework.integration.core.ErrorMessagePublisher.publish(ErrorMessagePublisher.java:168) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
at org.springframework.integration.handler.advice.ErrorMessageSendingRecoverer.recover(ErrorMessageSendingRecoverer.java:83) ~[na:na]
at org.springframework.retry.support.RetryTemplate.handleRetryExhausted(RetryTemplate.java:543) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:389) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:225) ~[rocketmq-broadcast-consumer1-example.exe:na]
at com.alibaba.cloud.stream.binder.rocketmq.integration.inbound.RocketMQInboundChannelAdapter.consumeMessage(RocketMQInboundChannelAdapter.java:162) ~[na:na]
at com.alibaba.cloud.stream.binder.rocketmq.integration.inbound.RocketMQInboundChannelAdapter.lambda$onInit$5(RocketMQInboundChannelAdapter.java:124) ~[na:na]
at org.apache.rocketmq.client.impl.consumer.ConsumeMessageConcurrentlyService$ConsumeRequest.run(ConsumeMessageConcurrentlyService.java:402) ~[rocketmq-broadcast-consumer1-example.exe:4.9.4]
at java.base@17.0.5/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[na:na]
at java.base@17.0.5/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[rocketmq-broadcast-consumer1-example.exe:na]
at java.base@17.0.5/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[rocketmq-broadcast-consumer1-example.exe:na]
at java.base@17.0.5/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
at java.base@17.0.5/java.lang.Thread.run(Thread.java:833) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:775) ~[rocketmq-broadcast-consumer1-example.exe:na]
at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:178) ~[na:na]
Caused by: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
at org.springframework.integration.dispatcher.BroadcastingDispatcher.dispatch(BroadcastingDispatcher.java:153) ~[na:na]
at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:72) ~[rocketmq-broadcast-consumer1-example.exe:6.0.2]
... 23 common frames omitted |
ruansheng8
reviewed
Jul 23, 2023
...-INF/native-image/com.alibaba.cloud/spring-cloud-starter-stream-rocketmq/reflect-config.json
Show resolved
Hide resolved
ruansheng8
reviewed
Jul 23, 2023
...-INF/native-image/com.alibaba.cloud/spring-cloud-starter-stream-rocketmq/reflect-config.json
Outdated
Show resolved
Hide resolved
ruansheng8
approved these changes
Jul 23, 2023
LGTM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe what this PR does / why we need it
add hints of RocketMQ module
Does this pull request fix one issue?
Describe how you did it
Describe how to verify it
Special notes for reviews