testcontainers/testcontainers-java

Clickhouse via MySQL protocol

Open

#3.827 geöffnet am 22. Feb. 2021

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.588 Forks)batch import
help wantedmodules/clickhouse

Repository-Metriken

Stars
 (7.535 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 17h) (2 gemergte PRs in 30 T)

Beschreibung

I would like to contribute an improevemnt for the clickhouse module but I am unsure how to package it.

Clickhouse supports 3 ways of connecting:

  • JDBC (basically only a wrapper around HTTP)
  • Native protocol (CLI only)
  • HTTP
  • MySQL protocol
  • PostgreSQL protocol

The current module supports:

  • JDBC (basically only a wrapper around HTTP)

I'd like to provide a PR supporting MySQL (already got it working) and maybe even PostgreSQL but I am unsure how to package this. The JdbcDatabaseContainer is tied to a specific driver (the one from yandex). Would you rather have individual containers for each one? have a highly configurable container covering all areas? Any example fdrom an existing module that comes to mind?

Cheers, Jochen

Contributor Guide