refactor(topics): 멀티 에이전트용 지식 재편 — _Common(공통 기본기) + Domain_* 구조
에이전트 8종(대화형/프로그래머 C·S/디자이너/설계자/기획자/QA/PD/PM)에게 [공통 기본 능력 + 롤별 Specialty] 2층으로 지식을 주입하기 위한 재분류. 문서 내용·포맷은 무수정, 폴더 이동만 (6,372개 문서 수 보존 확인). - Topic_Programming → Domain_Programming (내부 구조 보존) - Topic_Graphic → Domain_Design - Topic_Business → Domain_Product - Topic_General → Domain_General - _Common 신설: Math(구 Topic_Math_Specialty), Reasoning(구 General/From_Thinking & Reasoning), Reasoning_Creativity(구 General/From_창의성), Communication(Poetic_Blog_Writing + From_writing) - 타 도메인의 From_* 폴더는 유지 (출처 표기일 뿐, 이미 도메인에 맞게 분류된 문서) - 빈 폴더 정리 (memory/procedures) - 에이전트→폴더 매핑은 workspace의 .astra/agent-knowledge-map.json (9개 에이전트) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,149 @@
|
||||
---
|
||||
id: wiki-2026-0508-enterprise-service-bus
|
||||
title: Enterprise Service Bus
|
||||
category: 10_Wiki/Topics
|
||||
status: verified
|
||||
canonical_id: self
|
||||
aliases: [ESB, Service Bus, Integration Bus]
|
||||
duplicate_of: none
|
||||
source_trust_level: A
|
||||
confidence_score: 0.9
|
||||
verification_status: applied
|
||||
tags: [architecture, integration, soa, messaging, esb]
|
||||
raw_sources: []
|
||||
last_reinforced: 2026-05-10
|
||||
github_commit: pending
|
||||
tech_stack:
|
||||
language: java
|
||||
framework: apache-camel
|
||||
---
|
||||
|
||||
# Enterprise Service Bus
|
||||
|
||||
## 매 한 줄
|
||||
> **"매 ESB = SOA 시대 의 integration backbone — 매 2026 의 legacy + event mesh 의 hybrid"**. 매 hub-and-spoke 의 anti-pattern 회피 위한 message-bus pattern. 매 modern 의 Kafka + service mesh + iPaaS (MuleSoft, Boomi) 가 ESB 의 기능 의 분산.
|
||||
|
||||
## 매 핵심
|
||||
|
||||
### 매 ESB 의 6 capabilities
|
||||
- **Routing**: 매 content-based, header-based.
|
||||
- **Transformation**: 매 XML↔JSON↔Avro, schema mapping.
|
||||
- **Protocol bridging**: 매 SOAP↔REST↔AMQP↔JMS↔FTP.
|
||||
- **Orchestration**: 매 multi-step workflow (BPEL, Camel routes).
|
||||
- **Mediation**: 매 versioning, throttling, security policy.
|
||||
- **Monitoring**: 매 audit, SLA tracking, error queues.
|
||||
|
||||
### 매 versus alternatives
|
||||
- **Point-to-point**: 매 N×N integration — ESB 의 N+1.
|
||||
- **Hub-and-spoke**: 매 single hub bottleneck — ESB 의 distributed.
|
||||
- **Event mesh (modern)**: 매 Kafka + Schema Registry — 매 ESB 보다 throughput ↑, transformation logic 의 service-side.
|
||||
- **iPaaS**: 매 cloud-native ESB — 매 SaaS connector 의 thousand+.
|
||||
|
||||
### 매 응용
|
||||
1. Bank legacy mainframe ↔ digital channel integration.
|
||||
2. ERP (SAP) ↔ CRM (Salesforce) sync.
|
||||
3. B2B EDI translation (X12, EDIFACT).
|
||||
|
||||
## 💻 패턴
|
||||
|
||||
### Apache Camel content-based router
|
||||
```java
|
||||
from("jms:queue:incomingOrders")
|
||||
.choice()
|
||||
.when(jsonpath("$.priority == 'HIGH'"))
|
||||
.to("kafka:high-priority-orders")
|
||||
.when(jsonpath("$.region == 'EU'"))
|
||||
.to("amqp:eu-orders")
|
||||
.otherwise()
|
||||
.to("jms:queue:standardOrders")
|
||||
.end();
|
||||
```
|
||||
|
||||
### XML → JSON transformation
|
||||
```java
|
||||
from("file:input/orders?include=.*\\.xml")
|
||||
.unmarshal().jacksonXml(Order.class)
|
||||
.marshal().json(JsonLibrary.Jackson)
|
||||
.to("http://api.example.com/orders");
|
||||
```
|
||||
|
||||
### Saga orchestration (Camel)
|
||||
```java
|
||||
from("direct:placeOrder")
|
||||
.saga()
|
||||
.compensation("direct:cancelOrder")
|
||||
.timeout(java.time.Duration.ofMinutes(5))
|
||||
.to("direct:reserveInventory")
|
||||
.to("direct:chargePayment")
|
||||
.to("direct:scheduleShipment");
|
||||
```
|
||||
|
||||
### Dead letter channel
|
||||
```java
|
||||
errorHandler(deadLetterChannel("jms:queue:dlq")
|
||||
.maximumRedeliveries(3)
|
||||
.redeliveryDelay(2000)
|
||||
.useExponentialBackOff());
|
||||
```
|
||||
|
||||
### Modern replacement: Kafka + KStreams
|
||||
```java
|
||||
StreamsBuilder builder = new StreamsBuilder();
|
||||
builder.stream("orders", Consumed.with(Serdes.String(), orderSerde))
|
||||
.filter((k, v) -> v.getAmount() > 1000)
|
||||
.mapValues(o -> enrichWithCustomer(o))
|
||||
.to("high-value-orders");
|
||||
```
|
||||
|
||||
### Service mesh sidecar (Istio) replacement
|
||||
```yaml
|
||||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: order-routing
|
||||
spec:
|
||||
http:
|
||||
- match:
|
||||
- headers:
|
||||
x-region:
|
||||
exact: EU
|
||||
route:
|
||||
- destination:
|
||||
host: order-service-eu
|
||||
```
|
||||
|
||||
## 매 결정 기준
|
||||
| 상황 | Approach |
|
||||
|---|---|
|
||||
| Greenfield microservices | Kafka + service mesh, ESB X |
|
||||
| Legacy mainframe + SaaS integration | iPaaS (MuleSoft, Boomi) |
|
||||
| Heavy XML/SOAP B2B | Apache Camel or MuleSoft |
|
||||
| Event-driven architecture | Kafka + Schema Registry |
|
||||
| Complex orchestration | Camel + Saga or Temporal.io |
|
||||
|
||||
**기본값**: 매 2026 의 new project — Kafka + service mesh. 매 legacy integration — Camel or iPaaS. 매 traditional ESB (WSO2, Mule 3) 의 신규 도입 X.
|
||||
|
||||
## 🔗 Graph
|
||||
- 부모: [[Service-oriented-Architecture|Service-Oriented Architecture (SOA)]]
|
||||
- 변형: [[Service Mesh]]
|
||||
- 응용: [[Legacy Modernization]] · [[API Gateway]]
|
||||
|
||||
## 🤖 LLM 활용
|
||||
**언제**: 매 EIP pattern matching, 매 Camel DSL generation, 매 XSLT/XPath debugging, 매 legacy SOAP WSDL → REST OpenAPI 변환.
|
||||
**언제 X**: 매 production routing rules 의 직접 deploy — 매 정확한 schema validation, dead-letter handling 의 review 필요. 매 transformation logic 의 round-trip test 필수.
|
||||
|
||||
## ❌ 안티패턴
|
||||
- **God-ESB**: 매 모든 business logic 의 ESB 의 집중 — 매 bus 의 monolith. 매 logic 의 service-side.
|
||||
- **Synchronous chains**: 매 ESB 의 long sync calls — 매 cascading failure. 매 async + saga.
|
||||
- **No schema governance**: 매 transformation 의 implicit contract — 매 producer change 시 silent break.
|
||||
- **2026 의 new ESB 도입**: 매 platform team 의 maintenance cost ↑ — 매 Kafka + iPaaS 의 분산.
|
||||
|
||||
## 🧪 검증 / 중복
|
||||
- Verified (Hohpe & Woolf "Enterprise Integration Patterns" 2003, Apache Camel docs 4.x, Gartner ESB→iPaaS 의 2024 report).
|
||||
- 신뢰도 A.
|
||||
|
||||
## 🕓 Changelog
|
||||
| 날짜 | 변경 |
|
||||
|---|---|
|
||||
| 2026-05-08 | Phase 1 |
|
||||
| 2026-05-10 | Manual cleanup — Camel patterns, modern Kafka/mesh replacement, iPaaS context 추가 |
|
||||
Reference in New Issue
Block a user