This is an automated email from the ASF dual-hosted git repository.
azagrebin pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.11 by this push:
new b3d4acf [hotfix][kafka] Fix val declaration in scala code doc example
b3d4acf is described below
commit b3d4acf601126c2f70553a131b8dfc6ec9a636c2
Author: huzekang <[email protected]>
AuthorDate: Thu Nov 5 21:50:48 2020 +0800
[hotfix][kafka] Fix val declaration in scala code doc example
Closes #13947.
---
docs/dev/connectors/kafka.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/dev/connectors/kafka.md b/docs/dev/connectors/kafka.md
index f2e722f..6255624 100644
--- a/docs/dev/connectors/kafka.md
+++ b/docs/dev/connectors/kafka.md
@@ -436,7 +436,7 @@ stream.addSink(myProducer);
{% highlight scala %}
val stream: DataStream[String] = ...
-Properties properties = new Properties
+val properties = new Properties
properties.setProperty("bootstrap.servers", "localhost:9092")
val myProducer = new FlinkKafkaProducer[String](