compass icon indicating copy to clipboard operation
compass copied to clipboard

Remove the dependency on zookeeper

Open wForget opened this issue 2 years ago • 3 comments

Compass depends on many services so that it is difficult for me to install it quickly. Can we shrink some dependent services?

The zookeeper service is only used as a distributed lock in the task-metadata, maybe we can use redis instead.

wForget avatar Apr 09 '23 02:04 wForget

Compass depends on many services so that it is difficult for me to install it quickly. Can we shrink some dependent services?

The zookeeper service is only used as a distributed lock in the task-metadata, maybe we can use redis instead.

Zookeeper is also used by Kafka when Canal synchronizes scheduler data.

zebozhuang avatar Apr 10 '23 02:04 zebozhuang

Zookeeper is also used by Kafka when Canal synchronizes scheduler data.

In my company, kafka is provided independently as a cloud service, which means I cannot use the same zookeeper in compass and kafka.

wForget avatar Apr 10 '23 05:04 wForget

Zookeeper is also used by Kafka when Canal synchronizes scheduler data.

In my company, kafka is provided independently as a cloud service, which means I cannot use the same zookeeper in compass and kafka.

Understood. It is ok to support task-meta lock with either Redis or Zookeeper but it is not the reason to shrink zookeeper, which are two different kinds of saying^_^.

zebozhuang avatar Apr 11 '23 06:04 zebozhuang