blob: 9c25c465a3539a5ea8b201f17fb6da49b413c13c [file]
# 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.
# Config for FileReadWordCountTopo on the local docker cluster.
spout.count: 1
splitter.count: 2
counter.count: 2
input.file: "/topology/randomwords.txt"
# Two workers force the spout and bolts onto separate worker processes (and,
# with two supervisors, separate containers), so inter-worker tuple traffic
# crosses the network.
topology.workers: 2
# Enable the EWMA jitter estimators (RFC 3550) in TaskMetrics so the
# __execute-jitter / __process-jitter / __complete-jitter metrics are emitted.
topology.stats.ewma.enable: true
topology.stats.ewma.smoothing.factor: 0.0625