Dot Pulsar consumer Issue :DotPulsar.Exceptions.ChannelNotReadyException: The channnel is not ready yet #18001
Unanswered
amareshmad
asked this question in
Q&A
Replies: 1 comment
-
what could be the issue, when test app is working expected product code also same. but is not happening. always gives Exceptions.ChannelNotReadyException |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
**When I create .NET framework/.net core console app, I could be able to create a client and able to create consumer and receiving the messages as well but when I integrate it into my actual project it is not building the consumer **
For the first time from console got the issue DotPulsar.Exceptions.ChannelNotReadyException: The channnel is not ready yet later it is not generated, created the consumer and able consume messages
when I integrated same code with my actual project which supposed to create consumer, it is not creating the client consumer.
I always getting the exceptin DotPulsar.Exceptions.ChannelNotReadyException: The channnel is not ready yet
DotPulsar.Exceptions.ChannelNotReadyException: The channnel is not ready yet
at DotPulsar.Internal.NotReadyChannel
1.Receive(CancellationToken cancellationToken) at DotPulsar.Internal.Consumer
1.d__24.MoveNext()--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask
1.get_Result() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable
1.ConfiguredValueTaskAwaiter.GetResult()at DotPulsar.Internal.Executor.d__9`1.MoveNext()
More info
both test app & actual product code are running in same machine.
.Net framework :4.8
Installed .net core sdk 6.0
async Task TestConsumer(){
const string myTopic = "global.qa.xxxxRequestV1.Queue";
}
Beta Was this translation helpful? Give feedback.
All reactions