spring xd - Is Zookeeper Essential For XD Single Node? -
this question relates xd 1.1.2.release. i'm brand new xd, please forgive if dumb question.
the documentation says xd not ship zookeeper, , took mean needed once i'm ready go multi-node.
that being said, i'm getting undesired behavior in trying deploy stream: 1. time add stream, not persistent across xd restarts. 2. stream setup timing out. in debug mode, it's getting stuck in moduledeploymentwriter in spring-dirt. if i'm reading class correctly, seems it's writing file read zookeeper , timing out when response never received.
at first thought custom cassandra xd sink connection timing out, doesn't seem code ever reached in first place.
any appreciated!
the documentation says xd not ship zookeeper, , took mean needed once i'm ready go multi-node.
that's right. but, xd single-node uses embedded zookeeper.
- any time add stream, not persistent across xd restarts.
are using singlenode or distributed mode? if using singlenode, everytime xd restarts uses different zookeeper instance. hence, in singlenode, can't streams persisted between server restart. can still override functionality providing external zk configuration single-node setting zk.client.connect
in servers.yml.
- the stream setup timing out.
some log messages or stack trace figure out what's going on here. if using single-node, moduledeploymentwriter should write deployment container that's running on same jvm.
in case if running on debug mode @dturanski mentioned, can try increasing deployment timeout property xd.admin.deploymenttimeout
in servers.yml. default 30s.
Comments
Post a Comment