common/kafka: rely on mechanism to enable or disable SASL
Some checks are pending
CI / 🤖 Check dependabot status (push) Waiting to run
CI / 🐧 Build and test on Linux (push) Blocked by required conditions
CI / 🍏 Build and test on macOS (push) Blocked by required conditions
CI / 🔍 Upload code coverage (push) Blocked by required conditions
CI / 🔭 Build Go backend (1.24) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (18) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (20) (push) Blocked by required conditions
CI / 🔭 Build JS frontend (22) (push) Blocked by required conditions
CI / ⚖️ Check licenses (push) Waiting to run
CI / 🐋 Build Docker images (push) Blocked by required conditions
CI / 🚀 Publish release (push) Blocked by required conditions
Update Nix dependencies / Update Nix lockfile (asn2org) (push) Waiting to run
Update Nix dependencies / Update Nix lockfile (nixpkgs) (push) Waiting to run
Update Nix dependencies / Update dependency hashes (push) Waiting to run

Instead of username. This should be the same, but the code is more
correct this way.
This commit is contained in:
Vincent Bernat
2025-05-01 20:15:06 +02:00
parent 1b5e0a58ba
commit 55b74a1954
2 changed files with 8 additions and 5 deletions

View File

@@ -34,8 +34,9 @@ func TestKafkaNewConfig(t *testing.T) {
Enable: true,
},
SASL: SASLConfiguration{
Username: "hello",
Password: "password",
Username: "hello",
Password: "password",
Mechanism: SASLPlain,
},
},
}, {