kafka的配置与运行

kafka 的下载.https://archive.apache.org/dist/kafka/0.10.2.0/kafka_2.10-0.10.2.0.tgz

解压后。就可以执行批处理了。


报错了。

D:\es\kafka_2.10-0.10.2.0\kafka_2.10-0.10.2.0\bin\windows>kafka-server-start.bat
./config/server.properties
命令语法不正确。
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c00
00000, 1073741824, 0) failed; error='页面文件太小,无法完成操作。' (DOS error/er
rno=1455)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1073741824 bytes for Failed to c
ommit pages from 0 of length 262144
# An error report file with more information is saved as:
# D:\es\kafka_2.10-0.10.2.0\kafka_2.10-0.10.2.0\bin\windows\hs_err_pid1548.log


内存还要设置。先写到这。

猜你喜欢

转载自arpenker.iteye.com/blog/2410153
今日推荐