testcontainers/testcontainers-java

Clickhouse via MySQL protocol

Open

#3.827 aberto em 22 de fev. de 2021

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)Java (1.588 forks)batch import
help wantedmodules/clickhouse

Métricas do repositório

Stars
 (7.535 stars)
Métricas de merge de PR
 (Mesclagem média 2d 17h) (2 fundiu PRs em 30d)

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

Guia do colaborador