Repository navigation
fix(endpoint): use Kafka client bootstrap addresses - #694
marcschier wants to merge 3 commits into
Conversation
Correct the residual listener-style sample values without changing the field relocation already merged in xregistry#566. Preserve SSL explicitly and distinguish unresolved authoring from client-stage address checks. Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
|
Applied signed, forward cleanup commit 23520b4. Removed Markdown/prose assertions while retaining the real Kafka sample/model/generator checks and artifact helper; the changed test module passed 43 cases. The normative proposal, source models, samples and generated artifacts are unchanged by cleanup. This PR remains open for its e review; no policy decision or review-thread resolution is implied. Selected prerequisites are now tracked in xregistry/spec#723 (B); their necessary overlap remains here until those replacements land. Updated the PR description with current evidence, explicit retained scope and the pre-cleanup description archived as historical context. Original draft state and source branch are preserved. |
Port the cleaned net diff from xregistry#694 at 23520b4, relative to main 9ecf8ea. Keep the pure helper with its real Contoso sample caller and generated-artifact tests. Preserve security separation, placeholder handling and explicit listener-URL migration. The two sample address/security corrections remain prerequisite overlap owned by xregistry#723 (B), pending upstream merge. Signed-off-by: Marc Schier <marcschier@hotmail.com>
Address approved PY-COMP-01 from xregistry#694 and xregistry#724 compatibility. The enum-only selector returned None on both pinned C schema artifacts despite the standalone 43-case pass. Use Draft7Validator on required protocol discriminators within positive schema combinators, require exactly one options branch, and reject missing or ambiguous selection explicitly. Preserve literal and case-insensitive pattern guards, unguarded and negated branch controls, order independence, the real generated options and Contoso sample, and all existing address/security negative cases. Focused regressions were red (40 failed, 8 passed) before the repair. The exact targeted Kafka/history command now passes 92 cases; all 16 original options consumers also pass against the two real C artifacts without importing C implementation code or pinning a source hash in tests. Signed-off-by: Marc Schier <marcschier@hotmail.com>
|
Superseded by the expanded Message, Endpoint and CloudEvents profiles keeper xregistry/spec#685. The reviewed net changes at 23520b4 were transferred with their issue and review provenance; specification-text/synthetic-policy Python stays removed. Transfer and local integration evidence are in the keeper provenance comment. Immediately before closing, keeper head Closing this original only as superseded: the policy decisions remain open in the keeper, no upstream merge or review-thread resolution is implied, and the source branch is preserved. |
Fixes #625
Proposed Changes - current review scope
This original PR remains open as policy decision (e). The approved
three-bundle consolidation does not approve or merge this proposal.
The two Contoso entries can be aligned with Kafka's documented canonical host:port client configuration and the existing separate security.protocol model member as b. The surrounding normative patch goes further: strict scheme exclusion, mandatory bracketed IPv6, and mandatory rejection of implicit listener-URL migration are an explicit xRegistry admission/compatibility profile, not a universally forced native-client correction.
e - decision requiring separate approval
The profile forbids previously illustrated/tolerated forms and constrains consumer migration behavior. Its helper/documentation follows that choice, not a standalone c defect.
Python cleanup in 23520b4
The forward, signed cleanup commit removes new specification-text assertions
and synthetic policy-test code unless it has a concrete role in checking
real repository artifacts. It does not change this PR's normative proposal,
source models, samples, generated artifacts or production behavior.
tools/test_issue_625_kafka_bootstrap.pyendpoint/kafka_bootstrap.pyScript-only documentation and obsolete helper/test instructions were removed
or corrected with the affected code. Unmodified baseline Python is outside
the audit's scope; the cleanup is not evidence that a proposed policy is
already normative.
Current evidence and dependencies
python -B -m pytest tools\test_issue_625_kafka_bootstrap.py -q --tb=short -p no:cacheprovider -p pytest_asyncio.plugin: 43 passed in 2.06s.python -B tools\verify.py endpoint; bash tools\spellcheck endpoint\README.md; git diff --check: passed.direct parent, author-matching DCO, exact two-file scope, clean worktree: passed.The selected xregistry/spec#723 (B) contributions are tracked separately. Their required prerequisite overlap intentionally remains in this original PR until the replacement is merged upstream. After that external merge, forward-merge, narrow the remaining diff and regenerate/rerun real artifact checks as applicable; do not remove necessary source prematurely.
The cleanup preserves the original draft state. No review thread is marked
resolved by this update, and no source branch is deleted. The historical
description below is preserved for context; its old test counts, helper
instructions and specification-text assertions are not current evidence.
Historical description at 9ac196c (before cleanup)