congbobo184 commented on pull request #14097: URL: https://github.com/apache/pulsar/pull/14097#issuecomment-1032310651
@nicoloboschi hi, I don't think we should return the Exception from broker to client when producer connect. In order to don't let disable transaction producer connect broker wait `transactionBuffer` recover. Maybe we can create a future filed in `TopicTransactionBuffer` like `transactionBufferFuture`. When `TopicTransactionBuffer` check the snapshot exist or not completely, we can complete this future then the producer can connect. In this way, we don't need to return exception to client and client don't need to reconnect. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
