title: How to have a custom connector config file be parsed as java properties format?
body: <p>I have a custom connector that writes Neo4j commands from a file to Kafka and I would like to debug it. So, I downloaded Confluent v3.3.0 and took time familiarize myself with it; however, I find myself stuck trying to load the connector. When I try to load the connector with its .properties file I get the following error:</p>
  
  <pre><code>parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 1, column 124
  parse error: Invalid numeric literal at line 2, column 0
  </code></pre>
  
  <p>I have an inkling that it is trying to parse the file as a JSON file as before this error I got the following error when trying to load the connector:</p>
  
  <pre><code>Warning: Install 'jq' to add support for parsing JSON
  </code></pre>
  
  <p>And so I brew installed jq, and now having been getting the former error.</p>
  
  <p>I would like this file to be parsed as java properties format which I thought would be implicit due to the .properties, but do I need to be explicit in a setting somewhere?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I converted the .properties to JSON as suggested by @Konstantine Karantasis, but I get the same error as before but without the first line:</p>
  
  <pre><code>parse error: Invalid numeric literal at line 2, column 0
  </code></pre>
  
  <p>I triple checked my formatting and did some searching on the error, but have come up short. Please let me know if I made an error in my formatting or if there is a nuance when using JSON files with Kafka Connect that I don't about.</p>
  
  <p>Java properties:</p>
  
  <pre><code>name=neo4k-file-source
  connector.class=neo4k.filestream.source.Neo4jFileStreamSourceConnector
  tasks.max=1
  file=Neo4jCommands.txt
  topic=neo4j-commands
  </code></pre>
  
  <p>Converted to JSON:</p>
  
  <pre><code>[{
    "name": "neo4k-file-source",
    "connector": {
      "class": "neo4k.filestream.source.Neo4jFileStreamSourceConnector"
    },
    "tasks": {
      "max": 1
    },
    "file": "Neo4jCommands.txt",
    "topic": "neo4j-commands"
  }]
  </code></pre>