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 2020/04/23 07:33:06 UTC

[GitHub] [pulsar] itaross commented on issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update

itaross commented on issue #6797:
URL: https://github.com/apache/pulsar/issues/6797#issuecomment-618232785


   I have used a json field "retainOrdering" as written here https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/SinksBase.java
   
   When, I have encountered the problem I was not passing that so I should had false.
   Then I tried to create and update explicitly with false but the update didn't work.
   I tried to create with false and update with true and that worked.
   
   I do not know why, I have checked the code on broker side: https://github.com/apache/pulsar/blob/17e22d1eb19e763b2e89dfd5bdf0b7479653a3d9/pulsar-functions/utils/src/main/java/org/apache/pulsar/functions/utils/SinkConfigUtils.java
   
   Looks pretty straightforward, but I couldn't solve by not setting true.


----------------------------------------------------------------
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:
users@infra.apache.org