feat: add kafka admin integration

This commit is contained in:
richjohnrambo
2026-08-28 00:05:54 +08:00
parent b2e5097708
commit 5cc6eebc1a
48 changed files with 8065 additions and 55 deletions
+7
View File
@@ -27,6 +27,13 @@ func (s testTenantStore) GetByID(types.TenantID) (*types.Tenant, error) {
return s.tenant, s.err
}
func (s testTenantStore) ListActive(int) ([]types.Tenant, error) {
if s.err != nil || s.tenant == nil {
return nil, s.err
}
return []types.Tenant{*s.tenant}, nil
}
func test_makeSession(uid types.Uid) *Session {
return &Session{
send: make(chan any, 10),