Files
document-haness/docs/clean-architecture-backend-template/final/evidence/raw/a19-f014-kafka-msg-probe.txt
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

44 lines
2.4 KiB
Plaintext

# 출하 컴포지션 루트를 세 조합으로 기동한 결과
# ShippedCompositionHarness.shippedComposition("local") 에
# requiredOperatorInputs + allOffArguments 를 준 뒤 조합별로 덮어썼다
##### C1 마스터 스위치 off · 브로커 이름 미설정
기본 인자 : ShippedCompositionHarness.requiredOperatorInputs + allOffArguments
결과 : 기동 실패
맨 위 예외 : BeanCreationException
실패한 빈 : jpaSharedEM_entityManagerFactory
맨 아래 예외 : NoSuchBeanDefinitionException
없는 것 : No bean named 'entityManagerFactory' available
##### C2 마스터 스위치 off · 브로커 이름만 kafka
기본 인자 : ShippedCompositionHarness.requiredOperatorInputs + allOffArguments
덮어쓴 인자 : --app.messaging.broker=kafka
결과 : 기동 실패
맨 위 예외 : UnsatisfiedDependencyException
실패한 빈 : kafkaSeamProducer
맨 아래 예외 : NoSuchBeanDefinitionException
없는 것 : No qualifying bean of type 'dev.caskeleton.adapter.outbound.messaging.kafka.KafkaAdapterSettings' available: expected at least 1 bean which qualifies
##### C3 마스터 스위치 on · 브로커 이름 kafka
기본 인자 : ShippedCompositionHarness.requiredOperatorInputs + allOffArguments
덮어쓴 인자 : --app.messaging.enabled=true
덮어쓴 인자 : --app.messaging.broker=kafka
덮어쓴 인자 : --app.messaging.kafka.brokers=localhost:9092
결과 : 기동 실패
맨 위 예외 : BeanCreationException
실패한 빈 : jpaSharedEM_entityManagerFactory
맨 아래 예외 : NoSuchBeanDefinitionException
없는 것 : No bean named 'entityManagerFactory' available
# C3 에서 실제로 만들어진 KafkaProducer 의 설정
acks = -1
bootstrap.servers = [localhost:9092]
client.id = producer-1
key.serializer = class org.apache.kafka.common.serialization.StringSerializer
security.protocol = PLAINTEXT
value.serializer = class org.apache.kafka.common.serialization.StringSerializer
세 조합을 통틀어 만들어진 KafkaProducer 수 : 1
# 세 조합에서 공통으로 마지막에 남는 실패
이 프로브의 클래스패스에는 app-bootstrap 시험 출력이 함께 있어
Spring Data JPA 저장소 스캔이 켜지고 entityManagerFactory 부재로 끝난다.
C2 의 kafkaSeamProducer 실패는 그보다 먼저 난다.
entityManagerFactory 로 끝난 조합 수 : 2