Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1037

set rpc_compression as a parameter in JDBC URL

    XMLWordPrintableJSON

Details

    Description

      Now, if IoTDB server enables RPC compression, then when users use JDBC, they have to write codes before creating a JDBC connection:

      org.apache.iotdb.jdbc.Config.rpcThriftCompressionEnable=true;
      

      It is ungraceful. For JDBC, it is better to put settings like the above into the JDBC URL, e.g.,

      jdbc:iotdb://127.0.0.1:6667?rpc_compress=true

      Just modify parseUrl() in jdbc/src/main/java/org/apache/iotdb/jdbc/Utils.java .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hxd Xiangdong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: