ChhatralaNirmal commented on issue #1208: URL: https://github.com/apache/camel-kafka-connector/issues/1208#issuecomment-860560072
We tried using the properties instead of file sink url and the result is same. It gives us the same error. Here is the error messages after defining the properties : \nCaused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: file:/user/app/folder?appendChars=\n&autoCreate=true&charset=UTF-8&fileExist=Append&fileName=messages-${date:now:yyyyMMdd}.txt&forceWrites=true due to: Illegal character in query at index 34: file:/user/app/folder?appendChars=\n&autoCreate=true&charset=UTF-8&fileExist=Append&fileName=messages-$%7Bdate:now:yyyyMMdd%7D.txt&forceWrites=true\n\tat Here is our full connect config : { "name": "camel-file-sink-connector", "connector.class": "org.apache.camel.kafkaconnector.file.CamelFileSinkConnector", "tasks.max": "1", "key.converter": "org.apache.kafka.connect.storage.StringConverter", "value.converter": "org.apache.kafka.connect.converters.ByteArrayConverter", "topics": "camel-file-sink-kafka-topic", "camel.sink.contentLogLevel": "DEBUG", "camel.idempotency.enabled": "false", "camel.sink.path.directoryName": "/user/app/folder", "camel.sink.endpoint.charset": "UTF-8", "camel.sink.endpoint.fileName": "messages-${date:now:yyyyMMdd}.txt", "camel.sink.endpoint.appendChars": "\n", "camel.sink.endpoint.fileExist": "Append", "camel.sink.endpoint.forceWrites": "true", "camel.sink.endpoint.autoCreate": "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: us...@infra.apache.org