Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clickhouse ports and passwords in helpers #18

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

mleklund
Copy link
Contributor

  • Clickhouse needs port 8123 (HTTP) for console and rotor, but needs port 9000 (TCP) for bulker and ingest. See the
    docker-compose.yaml.

  • Clean up newlines that were creating username and passwords like "\njitsu".

I am not sure this is the cleanest way to handle the port issue. Another option would be to break out the clickhouse port and have differing defaults by service.

mleklund and others added 3 commits April 26, 2024 10:46
* Clickhouse needs port 8123 (HTTP) for console and rotor, but needs port
9000 (TCP) for bulker and ingest.  See the
[docker-compose.yaml](https://github.com/jitsucom/jitsu/blob/newjitsu/docker/docker-compose.yml).

* Clean up newlines that were creating username and passwords like "\njitsu".
@echozio
Copy link
Contributor

echozio commented Apr 29, 2024

Good catch. Regarding the port issue, I think a decent solution without shifting things around too much is to provide separate parameters for the HTTP/TCP hosts on a global level while retaining the current behavior on a per-service basis.

I'll open a PR to your branch since I already made an implementation for it while looking into this. Let me know what you think.

feat: break out clickhouse host into http and tcp in global config
@echozio echozio merged commit 979681e into stafftastic:main Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants