Moving the json data to sqlDatabase

You’re going to need to pre-process the message to add a schema (and also flatten it into a form it can be written to RDBMS).

See The JDBC Sink Connector and Schemas for more details