alanhoff opened a new issue #124:
URL: https://github.com/apache/pulsar-client-node/issues/124


   Hello there,
   
   Right now the producer's sequence ID is limited to 4 bytes here:
   
   - 
https://github.com/apache/pulsar-client-node/blob/master/src/ProducerConfig.cc#L76
   - 
https://github.com/apache/pulsar-client-node/blob/master/src/Message.cc#L174
   
   However we could allow 8 bytes integers if we allow producer/message to 
receive a 
[BigInt](https://nodejs.org/api/n-api.html#n_api_napi_get_value_bigint_int64) 
and/or a [8 bytes 
buffer](https://nodejs.org/api/buffer.html#buffer_buf_writebigint64le_value_offset).
   
   I'm trying to match a dataset that uses 8 bytes integers for keys as my 
sequence ID, that's why I found this limitation :-)


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to