You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/15 04:20:53 UTC
[GitHub] [pulsar] poorbarcode commented on issue #15176: [Doc] Question on Flow Control
poorbarcode commented on issue #15176:
URL: https://github.com/apache/pulsar/issues/15176#issuecomment-1099837243
# At case `message receive`, Pulsar is not same as RoccketMQ
Pulsar implements like this:
- Client has a message queue( default max-len is 1000 ) cache at local memory, like this:
`[ ] [ ] [ ] [ ] [ ]`
- After consumer registry, broker will push message to consumer, then consumer will cache this message.
`[ * ] [ * ] [ * ] [ * ] [ * ]`
- When execute `consumer.receive()`, client will pop message from local queue
This is completely asynchronous communication.
If this solves your problem, please close this issue. Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org