testcontainers/testcontainers-java

Clickhouse via MySQL protocol

Open

#3 827 ouverte le 22 févr. 2021

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)Java (1 588 forks)batch import
help wantedmodules/clickhouse

Métriques du dépôt

Stars
 (7 535 stars)
Métriques de merge PR
 (Merge moyen 2j 17h) (2 PRs mergées en 30 j)

Description

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

Guide contributeur