You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/01/07 13:35:04 UTC

[GitHub] asfgit closed pull request #7361: [hotfix][doc] fix error http port in elasticsearch scala doc

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:
users@infra.apache.org


With regards,
Apache Git Services