asfgit closed pull request #7361: [hotfix][doc] fix error http port in 
elasticsearch scala doc
URL: https://github.com/apache/flink/pull/7361
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/dev/connectors/elasticsearch.md 
b/docs/dev/connectors/elasticsearch.md
index de24149bc75..d0a159b254e 100644
--- a/docs/dev/connectors/elasticsearch.md
+++ b/docs/dev/connectors/elasticsearch.md
@@ -340,8 +340,8 @@ import java.util.List
 val input: DataStream[String] = ...
 
 val httpHosts = new java.util.ArrayList[HttpHost]
-httpHosts.add(new HttpHost("127.0.0.1", 9300, "http"))
-httpHosts.add(new HttpHost("10.2.3.1", 9300, "http"))
+httpHosts.add(new HttpHost("127.0.0.1", 9200, "http"))
+httpHosts.add(new HttpHost("10.2.3.1", 9200, "http"))
 
 val esSinkBuilder = new ElasticsearchSink.Builer[String](
   httpHosts,


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to