frejonb opened a new issue #6084: [v2.5.0] Functions dead-letter-topic 
parameter not supported
URL: https://github.com/apache/pulsar/issues/6084
 
 
   **Describe the bug**
   In the Functions reference https://pulsar.apache.org/docs/en/functions-cli/ 
it shows a parameter `dead-letter-topic`. When using it, it is passed to 
`/pulsar/instances/python-instance/python_instance_main.py` under the 
`--function_details` json as
   ```
   "customRuntimeOptions": "persistent://tenant/namespace/dlq-topic"
   ```
   But `customRuntimeOptions` is not recognized:
   ```
   google.protobuf.json_format.ParseError: Message type "proto.FunctionDetails" 
has no field named "customRuntimeOptions".
    Available Fields(except extensions): ['tenant', 'namespace', 'name', 
'className', 'logTopic', 'processingGuarantees', 'userConfig', 'secretsMap', 
'runtime', 'autoAck', 'parallelism', 'source', 'sink', 'resources', 
'packageUrl', 'retryDetails', 'runtimeFlags', 'componentType']
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Create pulsar function with `--dead-letter-topic` argument
   
   **Expected behavior**
   Function should be configured correctly
   
   **Desktop (please complete the following information):**
    - OS: Docker
   
   **Additional context**
   pulsar tag v2.5.0
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to