public void insertData_JSONEachRowFormat(InputStream inputStream) {
        InsertSettings insertSettings = new InsertSettings();
        try (InsertResponse response = client.insert(TABLE_NAME, inputStream, ClickHouseFormat.JSONEachRow,
                insertSettings).get(3, TimeUnit.SECONDS)) {

            log.info("Insert finished: {} rows written", response.getMetrics().getMetric(ServerMetrics.NUM_ROWS_WRITTEN).getLong());
        } catch (Exception e) {
            log.error("Failed to write JSONEachRow data", e);
            throw new RuntimeException(e);
        }
    }
<p>Accepts an input stream of JSONEachRow formatted data and inserts it into the table</p>
<p>For more information on JSONEachRow format, see:
{@see <a href="https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow">Format Documentation</a>}</p>

<p>Any other format can be used instead of JSONEachRow, such as TabSeparated, RowBinary, etc. As data stream
is passed almost directly to a transport layer.</p>

@param inputStream - input stream of JSONEachRow formatted data
examples/client-v2/src/main/java/com/clickhouse/examples/client_v2/Stream2DbWriter.java