summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchaoc <[email protected]>2023-08-02 16:57:30 +0800
committerchaoc <[email protected]>2023-08-02 16:57:30 +0800
commite9616a2400a3e6f9e636860c1d45ffefc9aefaab (patch)
treefd786280dad97a9d2f99978f2be20f47db3a85e8
parent7cb70bfd8b52d50b9a5052dc026499c915693f6b (diff)
test(conf): add test config filefeature/scala-impl
-rw-r--r--src/test/resources/log4j2.properties25
-rw-r--r--src/test/resources/test.properties7
2 files changed, 32 insertions, 0 deletions
diff --git a/src/test/resources/log4j2.properties b/src/test/resources/log4j2.properties
new file mode 100644
index 0000000..32c696e
--- /dev/null
+++ b/src/test/resources/log4j2.properties
@@ -0,0 +1,25 @@
+################################################################################
+# 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.
+################################################################################
+
+rootLogger.level = INFO
+rootLogger.appenderRef.console.ref = ConsoleAppender
+
+appender.console.name = ConsoleAppender
+appender.console.type = CONSOLE
+appender.console.layout.type = PatternLayout
+appender.console.layout.pattern = %d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n
diff --git a/src/test/resources/test.properties b/src/test/resources/test.properties
new file mode 100644
index 0000000..4a784f3
--- /dev/null
+++ b/src/test/resources/test.properties
@@ -0,0 +1,7 @@
+source.kafka.topic=aaa
+source.kafka.props.bootstrap.servers=127.0.0.1:9292
+source.kafka.props.group.id=flink-voip-fusion
+source.kafka.props.auto.offset.reset=earliest
+
+sink.kafka.topic=bbb
+sink.kafka.props.bootstrap.servers=127.0.0.1:9292 \ No newline at end of file