All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.treasure_data.logger.Constants Maven / Gradle / Ivy

There is a newer version: 0.2.3
Show newest version
//
// Treasure Data Logger for Java.
//
// Copyright (C) 2011 - 2013 Muga Nishizawa
//
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
//
//        http://www.apache.org/licenses/LICENSE-2.0
//
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.
//
package com.treasure_data.logger;

public interface Constants extends com.treasure_data.client.Constants {
    ///////////////////////////
    // For agent mode        //
    ///////////////////////////

    String TD_LOGGER_AGENTMODE = "td.logger.agentmode";

    String TD_LOGGER_AGENTMODE_DEFAULT = "true";

    String TD_LOGGER_AGENT_HOST = "td.logger.agent.host";

    String TD_LOGGER_AGENT_HOST_DEFAULT = "localhost";

    String TD_LOGGER_AGENT_PORT = "td.logger.agent.port";

    String TD_LOGGER_AGENT_PORT_DEFAULT = "24224";

    String TD_LOGGER_AGENT_TAG = "td.logger.agent.tag";

    String TD_LOGGER_AGENT_TAG_DEFAULT = "td";

    String TD_LOGGER_AGENT_TIMEOUT = "td.logger.agent.timeout";

    String TD_LOGGER_AGENT_TIMEOUT_DEFAULT = "3000";

    String TD_LOGGER_AGENT_BUFCAPACITY = "td.logger.agent.buffercapacity";

    String TD_LOGGER_AGENT_BUFCAPACITY_DEFAULT = "1048576"; // 1 * 1024 * 1024

    ///////////////////////////
    // For API server mode   //
    ///////////////////////////

    String TD_LOGGER_API_KEY = "td.logger.api.key";

    String TD_LOGGER_API_SERVER_HOST = "td.logger.api.server.host";

    String TD_LOGGER_API_SERVER_HOST_DEFAULT = Config.TD_API_SERVER_HOST_DEFAULTVALUE;

    String TD_LOGGER_API_SERVER_PORT = "td.logger.api.server.port";

    String TD_LOGGER_API_SERVER_PORT_DEFAULT = Config.TD_API_SERVER_PORT_DEFAULTVALUE;

    String TD_LOGGER_API_SERVER_SCHEME = "td.logger.api.server.scheme";

    String TD_LOGGER_API_SERVER_SCHEME_DEFAULT = Config.TD_API_SERVER_SCHEME_HTTPS;

    String TD_LOGGER_AUTO_CREATE_TABLE = "td.logger.create.table.auto";

    String TD_LOGGER_AUTO_CREATE_TABLE_DEFAULT = "false";

    String TD_LOGGER_HTTPSENDER_CLASS = "td.logger.httpsender.class";
    String TD_LOGGER_HTTPSENDER_CLASS_DEFAULT = "com.treasure_data.logger.sender.HttpSender";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy