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/06/17 03:59:44 UTC

[GitHub] [pulsar] nareshv opened a new issue, #16107: allow custom sequence numbers in the producer for dedup

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

   **Is your enhancement request related to a problem? Please describe.**
   Current producer api allows for creation of messages and the sequence numbers logic is not exposed to the programmers.
   
   **Describe the solution you'd like**
   Provide a mechanism using which the sequence numbers can be controlled by the developers instead of the Producer api
   
   **Describe alternatives you've considered**
   Not available
   
   **Additional context**
   This would help external system's sequence numbers to be used in the Messages before sent on wire and take advantage of the deduplication provided by pulsar.
   


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

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


[GitHub] [pulsar] merlimat commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
merlimat commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285509146

   There is already a way to override it: https://pulsar.apache.org/api/client/2.10.0-SNAPSHOT/org/apache/pulsar/client/api/TypedMessageBuilder.html#sequenceId(long)


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


[GitHub] [pulsar] nareshv commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
nareshv commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285189519

   can you give some suggestions on this ?


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


[GitHub] [pulsar] github-actions[bot] commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1186693143

   The issue had no activity for 30 days, mark with Stale label.


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


[GitHub] [pulsar] eolivelli commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285514744

   thank you @merlimat  !


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


[GitHub] [pulsar] github-actions[bot] commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1321359299

   The issue had no activity for 30 days, mark with Stale label.


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


[GitHub] [pulsar] nareshv closed issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
nareshv closed issue #16107: allow custom sequence numbers in the producer for dedup
URL: https://github.com/apache/pulsar/issues/16107


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


[GitHub] [pulsar] eolivelli commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285454722

   here we handle the sequenceId
   https://github.com/apache/pulsar/blob/b94588310eede61b417f40ca44e446470b58f6bf/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java#L610
   
   we just need some way to set the sequence id while building a Message


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


[GitHub] [pulsar] nareshv commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
nareshv commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1322965121

   closing.


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


[GitHub] [pulsar] eolivelli commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285234700

   @nareshv I think that we need a PIP for this feature and someone who wills to code it.
   I understand your problem and it makes sense to me.
   Thanks for sharing your problem.
   
   Maybe you can advertise it on the mailing list (dev@pulsar.apache.org) in order to get more visibility, unfortunately not everyone is following the huge flow of notifications from github
   
   


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


[GitHub] [pulsar] nareshv commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
nareshv commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1285348354

   I am willing to write one if needed. Going through the JAVA SDK, looks most of the code is auto generated and doesn't expose any way to change the sequence numbers today.


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


[GitHub] [pulsar] nareshv commented on issue #16107: allow custom sequence numbers in the producer for dedup

Posted by GitBox <gi...@apache.org>.
nareshv commented on issue #16107:
URL: https://github.com/apache/pulsar/issues/16107#issuecomment-1286463852

   This is useful @merlimat and @eolivelli.


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