shotover / shotover-proxy

L7 data-layer proxy
https://docs.shotover.io
Apache License 2.0
84 stars 16 forks source link

KafkaSinkCluster scram_over_mtls - initial integration tests #1652

Closed rukai closed 4 months ago

rukai commented 4 months ago

This PR pulls the majority of the changes out of https://github.com/shotover/shotover-proxy/pull/1651 since they require no code changes to land.

To support the new test cases, this PR first extends the kafka connection abstraction. This abstraction abstracts over both the CPP driver and java driver. For this PR we can get away with just supporting the java driver since the cpp driver doesnt support SCRAM and so we cant use it for this test anyway. This PR adds:

Then this PR implements new test cases on top of the new connection abstraction methods:

And then finally we run the test cases in various configurations in cluster_sasl_scram_over_mtls_single_shotover:

codspeed-hq[bot] commented 4 months ago

CodSpeed Performance Report

Merging #1652 will not alter performance

Comparing rukai:scram_over_mtls_tests_prereq (1cce034) with main (d9e441f)

Summary

✅ 37 untouched benchmarks