pgier opened a new issue, #18813:
URL: https://github.com/apache/pulsar/issues/18813

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   Using the `pulsar-perf transaction` command to run a transactional request 
on a broker with no transaction coordinator returns a java stack trace.
   ```
   org.apache.pulsar.client.api.PulsarClientException$AuthorizationException: 
{"errorMsg":"{"errorMsg":"Proxy Client is not authorized to Get Partition 
Metadata","reqId":337688082440527175, 
"remote":"pulsar-server/10.0.74.164:6650", 
"local":"/10.240.1.120:59482"}","reqId":4043271315455241786, 
"remote":"pulsar-server/40.91.75.49:6651", "local":"/10.240.2.1:37198"}
   ```
   This appears to be an authorization error, so the solution to enable the 
transaction coordinator is not obvious.
   
   ### Solution
   
   pulsar-perf (and possibly pulsar-client) should return an error that clearly 
states that it's not possible to run a transaction when the transaction 
coordinator is disabled.
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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]

Reply via email to