我写了一些程序,它使用两个代理来发送消息......如下:
val kafkaBrokers = "172.16.50.64:9092,172.16.50.65:9093"
IP是群集节点的地址,但我得到了
java.nio.channels.ClosedChannelException
org.apache.spark.SparkException: java.nio.channels.ClosedChannelException
java.nio.channels.ClosedChannelException..
我想知道哪些端口可以用于MapR集群..
答案 0 :(得分:-1)
MapR Streams没有经纪人。 Here is a demo of MapR Streams.
您需要下载适用于VMware和Virtualbox的MapR Sandbox。这包括MapR Streams包,是最快的入门方式。
沙箱运行后,您可以使用git clone https://github.com/mapr-demos/mapr-streams-sample-programs.git
下载演示所需的文件。
可以在this document中引用MapR Streams演示所需的所有maprcli命令。