Hi Randall,

after running the "./gradlew idea" command I imported the project into IntelliJ 
thanks to the Gradle support.

I did no changes on that.


For now the way I'm debugging is just building the kafka binaries, then running 
the connect example on the command line with debugging enabled 
(DEBUG_SUSPEND_FLAG=y and KAFKA_DEBUG=y) and then attaching a remote session 
from IntelliJ.

I hope there is a simpler way to do that ;)


Thanks,

Paolo.


Paolo Patierno
Senior Software Engineer (IoT) @ Red Hat
Microsoft MVP on Windows Embedded & IoT
Microsoft Azure Advisor

Twitter : @ppatierno<http://twitter.com/ppatierno>
Linkedin : paolopatierno<http://it.linkedin.com/in/paolopatierno>
Blog : DevExperience<http://paolopatierno.wordpress.com/>


________________________________
From: Randall Hauch <rha...@gmail.com>
Sent: Thursday, June 8, 2017 3:14 PM
To: users@kafka.apache.org
Subject: Re: ConnectStandalone : not found JsonConverter running in IntelliJ

Hi, Paolo.

How are the Kafka Connect libraries loaded into your IntelliJ project? If
they are loaded as external libraries, where in the order of the external
libraries does the "org.apache.kafka:connector:connect-json" Maven module
appear? Or, is that module loaded as source?

Best regards,

Randall

On Thu, Jun 8, 2017 at 8:17 AM, Paolo Patierno <ppatie...@live.com> wrote:

> Hi,
>
>
> I'm trying to run the ConnectStandalone application inside IntelliJ
> providing the worker and console source properties files from the config
> dir but I receive the following exception :
>
>
> Exception in thread "main" org.apache.kafka.common.config.ConfigException:
> Invalid value org.apache.kafka.connect.json.JsonConverter for
> configuration internal.key.converter: Class 
> org.apache.kafka.connect.json.JsonConverter
> could not be found.
> at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:711)
> at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:457)
> at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:450)
> at org.apache.kafka.common.config.AbstractConfig.<init>(
> AbstractConfig.java:62)
> at org.apache.kafka.common.config.AbstractConfig.<init>(
> AbstractConfig.java:75)
> at org.apache.kafka.connect.runtime.WorkerConfig.<init>(
> WorkerConfig.java:197)
> at org.apache.kafka.connect.runtime.standalone.StandaloneConfig.<init>(
> StandaloneConfig.java:42)
> at org.apache.kafka.connect.cli.ConnectStandalone.main(
> ConnectStandalone.java:70)
>
>
> The converter is available in the JSON module of course.
>
>
> Any idea ?
>
>
> Thanks,
>
> Paolo
>
>
> Paolo Patierno
> Senior Software Engineer (IoT) @ Red Hat
> Microsoft MVP on Windows Embedded & IoT
> Microsoft Azure Advisor
>
> Twitter : @ppatierno<http://twitter.com/ppatierno>
> Linkedin : paolopatierno<http://it.linkedin.com/in/paolopatierno>
> Blog : DevExperience<http://paolopatierno.wordpress.com/>
>

Reply via email to