Class InfluxDbTcpSender

  • All Implemented Interfaces:
    InfluxDbSender

    public class InfluxDbTcpSender
    extends Object
    An implementation of InfluxDbSender that uses TCP Connection. Warning: This class uses non encrypted TCP connection to connect to the remote host.
    • Constructor Detail

      • InfluxDbTcpSender

        public InfluxDbTcpSender​(String hostname,
                                 int port,
                                 int socketTimeout,
                                 String database,
                                 String measurementPrefix)
        Creates an instance of [[InfluxDbTcpSender]]
        Parameters:
        hostname - The hostname to connect
        port - The port to connect
        socketTimeout - A socket timeout to use
        database - The database to write into