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/22 16:08:58 UTC
[GitHub] [pulsar] itaross opened a new issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update
itaross opened a new issue #6797:
URL: https://github.com/apache/pulsar/issues/6797
**Describe the bug**
Exception message "Retain Orderning cannot be altered" is returned when updating a pulsar sink.
**To Reproduce**
1 - Create a sink in standalone mode
2 - Update the sink without modifying the retain oredering boolean
**Expected behavior**
Sink should be updated with the new configuration
**Additional context**
InfluxDB v2 PulsarIO Connector.
----------------------------------------------------------------
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
[GitHub] [pulsar] sijie commented on issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update
Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6797:
URL: https://github.com/apache/pulsar/issues/6797#issuecomment-618131248
@itaross Are you changing the retain ordering setting?
----------------------------------------------------------------
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
[GitHub] [pulsar] itaross commented on issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update
Posted by GitBox <gi...@apache.org>.
itaross commented on issue #6797:
URL: https://github.com/apache/pulsar/issues/6797#issuecomment-927120941
@sijie any updates on this? Thx
--
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] itaross commented on issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update
Posted by GitBox <gi...@apache.org>.
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
[GitHub] [pulsar] itaross edited a comment on issue #6797: "Retain Orderning cannot be altered" exception on Pulsar Sink update
Posted by GitBox <gi...@apache.org>.
itaross edited a comment 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 solved only putting 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