Adam-Kazberuk-Narvar edited a comment on issue #2581: Android and IOS client 
support
URL: https://github.com/apache/pulsar/issues/2581#issuecomment-439499132
 
 
   @merlimat, Yeah, honestly not super familiar with the inner workings yet. 
[Just tried getting the standalone Pulsar set 
up](https://pulsar.apache.org/docs/v1.19.0-incubating/getting-started/LocalCluster/),
 it appears to start and the internal test producer/consumers appear to 
function.
   
   I'm guessing the issue is in the [Node.js implementation of 
producers/consumers](https://pulsar.apache.org/docs/latest/clients/WebSocket/#nodejs)
   
   -- edit reporting back --
   The example has the url as 
`ws://localhost:8080/ws/v2/producer/persistent/my-tenant/my-ns/my-topic1`, 
[which appears to use `webServicePort` instead of 
`brokerServicePort`](https://github.com/apache/pulsar/blob/master/conf/standalone.conf#L28)
   
   Updating the node example to use `localhost:${brokerServicePort}` now gives 
a different error: 
   `Got exception TooLongFrameException : Adjusted frame length exceeds 
5242880: 1195725860 - discarded`
   
   Here's the message I'm attempting to send, just for documentation's sake:
   ```
   {
     payload: new Buffer('Hello World').toString('base64'),
     properties: {
       key1: 'value1',
       key2: 'value2',
     },
     context: '1',
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to