File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ func renderZookeeperConfig(settings ZookeeperOptions) ([]byte, error) {
3434 return bootstrapConfig .Bytes (), nil
3535}
3636
37- // WithZookeeper pass a config to connect clickhouse with zookeeper and make clickhouse as cluster
37+ // WithZookeeper pass a config to connect clickhouse with zookeeper and make clickhouse as cluster.
38+ // It creates a temporary file in the host filesystem with the config and copies it to the container
39+ // at /etc/clickhouse-server/config.d/zookeeper_config.xml. This file is not cleaned up automatically,
40+ // and it's removed by the OS.
3841func WithZookeeper (host , port string ) testcontainers.CustomizeRequestOption {
3942 return func (req * testcontainers.GenericContainerRequest ) error {
4043 f , err := os .CreateTemp ("" , "clickhouse-tc-config-" )
You can’t perform that action at this time.
0 commit comments