|
|
|
# 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.
|
|
|
|
# name of test topic
|
|
|
|
kafka.etl.topic=SimpleTestEvent
|
|
|
|
|
|
|
|
# hdfs location of jars
|
|
|
|
hdfs.default.classpath.dir=/tmp/kafka/lib
|
|
|
|
|
|
|
|
# number of test events to be generated
|
|
|
|
event.count=1000
|
|
|
|
|
|
|
|
# hadoop id and group
|
|
|
|
hadoop.job.ugi=kafka,hadoop
|
|
|
|
|
|
|
|
# kafka server uri
|
|
|
|
kafka.server.uri=tcp://localhost:9092
|
|
|
|
|
|
|
|
# hdfs location of input directory
|
|
|
|
input=/tmp/kafka/data
|
|
|
|
|
|
|
|
# hdfs location of output directory
|
|
|
|
output=/tmp/kafka/output
|
|
|
|
|
|
|
|
# limit the number of events to be fetched;
|
|
|
|
# value -1 means no limitation
|
|
|
|
kafka.request.limit=-1
|
|
|
|
|
|
|
|
# kafka parameters
|
|
|
|
client.buffer.size=1048576
|
|
|
|
client.so.timeout=60000
|