blob: 0c80d1c1cda0fd9474116ec9efbae5c1c7c4a619 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
#include "proto/messages.h"
#include "basics/basics.h"
#include "errors/errors.h"
#include "threads/threads.h"
#include "network/network.h"
#include "config/topology-config-vars.h"
namespace heron {
namespace config {
const sp_string TopologyConfigVars::TOPOLOGY_DEBUG = "topology.debug";
const sp_string TopologyConfigVars::TOPOLOGY_STMGRS = "topology.stmgrs";
const sp_string TopologyConfigVars::TOPOLOGY_MESSAGE_TIMEOUT_SECS = "topology.message.timeout.secs";
const sp_string TopologyConfigVars::TOPOLOGY_WORKER_CHILDOPTS = "topology.worker.childopts";
const sp_string TopologyConfigVars::TOPOLOGY_COMPONENT_PARALLELISM =
"topology.component.parallelism";
const sp_string TopologyConfigVars::TOPOLOGY_MAX_SPOUT_PENDING = "topology.max.spout.pending";
const sp_string TopologyConfigVars::TOPOLOGY_SERIALIZER_CLASSNAME = "topology.serializer.classname";
const sp_string TopologyConfigVars::TOPOLOGY_TICK_TUPLE_FREQ_SECS = "topology.tick.tuple.freq.secs";
const sp_string TopologyConfigVars::TOPOLOGY_ENABLE_MESSAGE_TIMEOUTS =
"topology.enable.message.timeouts";
// This is deprecated and is strictly for backwards compatibility
const sp_string TopologyConfigVars::TOPOLOGY_ENABLE_ACKING = "topology.acking";
const sp_string TopologyConfigVars::TOPOLOGY_RELIABILITY_MODE = "topology.reliability.mode";
const sp_string TopologyConfigVars::TOPOLOGY_CONTAINER_CPU_REQUESTED = "topology.container.cpu";
const sp_string TopologyConfigVars::TOPOLOGY_CONTAINER_RAM_REQUESTED = "topology.container.ram";
const sp_string TopologyConfigVars::TOPOLOGY_STATEFUL_CHECKPOINT_INTERVAL_SECONDS =
"topology.stateful.checkpoint.interval.seconds";
const sp_string TopologyConfigVars::TOPOLOGY_STATEFUL_START_CLEAN = "topology.stateful.start.clean";
const sp_string TopologyConfigVars::TOPOLOGY_DROPTUPLES_UPON_BACKPRESSURE =
"topology.droptuples.upon.backpressure";
const sp_string TopologyConfigVars::TOPOLOGY_NAME = "topology.name";
const sp_string TopologyConfigVars::TOPOLOGY_TEAM_NAME = "topology.team.name";
const sp_string TopologyConfigVars::TOPOLOGY_TEAM_EMAIL = "topology.team.email";
const sp_string TopologyConfigVars::TOPOLOGY_CAP_TICKET = "topology.cap.ticket";
const sp_string TopologyConfigVars::TOPOLOGY_PROJECT_NAME = "topology.project.name";
const sp_string TopologyConfigVars::TOPOLOGY_COMPONENT_OUTPUT_BPS = "topology.component.output.bps";
} // namespace config
} // namespace heron