jetstream-api 0.6.9__tar.gz → 0.6.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/PKG-INFO +17 -1
  2. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/README.md +16 -0
  3. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/__init__.py +1 -1
  4. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/admin.py +191 -613
  5. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/common.py +17 -26
  6. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/msg.py +19 -0
  7. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/producer.py +12 -2
  8. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/properties.py +542 -890
  9. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/jetstream_api.egg-info/PKG-INFO +17 -1
  10. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/pyproject.toml +1 -1
  11. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/LICENSE.txt +0 -0
  12. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/admintopic.py +0 -0
  13. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/connectivity.py +0 -0
  14. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/exception.py +0 -0
  15. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/partitioner.py +0 -0
  16. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/pattern.py +0 -0
  17. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/py.typed +0 -0
  18. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/qmgr.py +0 -0
  19. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/topic.py +0 -0
  20. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/ilink/util.py +0 -0
  21. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/jetstream_api.egg-info/SOURCES.txt +0 -0
  22. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/jetstream_api.egg-info/dependency_links.txt +0 -0
  23. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/jetstream_api.egg-info/requires.txt +0 -0
  24. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/jetstream_api.egg-info/top_level.txt +0 -0
  25. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/setup.cfg +0 -0
  26. {jetstream_api-0.6.9 → jetstream_api-0.6.10}/tests/test_example.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jetstream-api
3
- Version: 0.6.9
3
+ Version: 0.6.10
4
4
  Summary: Python client API for iLink M.O.M. (Message Oriented Middleware)
5
5
  Author: snowjeans
6
6
  License: Boost Software License - Version 1.0 - August 17th, 2003
@@ -54,6 +54,22 @@ Python으로 작성된 ILink 클라이언트 API입니다.
54
54
  ## 설치 방법
55
55
  pip install jetstream-api
56
56
 
57
+ ## 0.6.10 변경 - 클러스터 관리 API 를 판사/조정자 모델로 (클러스터는 엔진 7.0.1.3391 이상)
58
+
59
+ 클러스터 하나는 관리 서비스 셋(판사 · MAIN · SUB)에 **각자 정의를 만듭니다.** 한 서비스에 만들면 나머지에 퍼지던 옛 방식은 엔진에서 없어졌습니다.
60
+
61
+ - 정의는 `ILClusterProperty.judge(name, main, sub, ilcc_port)` 와 `ILClusterProperty.coordinator(name, "MAIN" 또는 "SUB", ilcc_port)` 로 만들고, 세 서비스에서 각각 `createCluster(정의)` 합니다.
62
+ - 노드(`ILClusterNode`)에 그 호스트 조정자의 `ilcc_port` 를 싣습니다. 판사 정의와 그 조정자 정의 **두 곳에 같은 값**을 적습니다.
63
+ - `setClusterProperty` 로 바꿀 수 있는 것은 자동 기동(어디서나)과 하트비트(판사에서만)뿐입니다. 타입 · ilcc 포트 · 노드를 바꾸려면 세 곳에서 지우고 다시 만듭니다.
64
+ - `removeCluster` / `startCluster` / `stopCluster` 는 **접속한 서비스만** 다룹니다. 떠 있어도 지워집니다. `stopCluster` 는 정지를 기다리지 않으므로, 곧바로 다시 띄우려면 상태가 `STOPPED` 인지 먼저 확인하십시오.
65
+ - `getClusterDefDiag` 는 새 본문(FORMAT 2)을 읽습니다. 판사에 물으면 두 조정자의 상태가, 조정자에 물으면 판사와의 관계가 옵니다.
66
+ - 기동/정지 실패 사유가 "-1" 대신 엔진이 준 사유로 올라옵니다.
67
+ - **없어진 API**: `addClusterNode` / `removeClusterNode`, `getLastClusterWarning`, 이름 · 포트로 만드는 `createCluster` 형태, `ILClusterProperty` 의 `priSvc` · `secSvc` · `witSvc` · 세 포트 · `role` · `add_node` · `remove_node`, 옛 진단 접근자(`getLocal`, `getLocalAddress`, `isMissing`, `hasAgreement` 등), 상수 `CLUSTER_NO_NODES_MIN_REVISION` · `CLUSTER_DEFDIAG_MAX_FORMAT` · `CLUSTER_DEFDIAG_MAX_ELAPSED_MS`.
68
+
69
+ 그 밖:
70
+
71
+ - 프레임 길이가 999,999,999 바이트를 넘으면 **보내기 전에** `MIMQE_MSG_SIZE_OVER` 로 막습니다. 엔진은 그런 프레임을 받으면 사유 없이 연결을 끊습니다. `maxRequestSize` 는 999,999,974 를 넘지 않게 보정됩니다.
72
+
57
73
  ## 0.6.9 변경 - 파티션을 클라이언트가 정한다 (엔진 7.0.1.3401 이상 필요)
58
74
 
59
75
  엔진이 더는 파티션을 고르지 않습니다. 이 판부터 producer 와 관리 API 단건 발행이 파티션을 정해 보냅니다(Kafka 와 같은 방식).
@@ -8,6 +8,22 @@ Python으로 작성된 ILink 클라이언트 API입니다.
8
8
  ## 설치 방법
9
9
  pip install jetstream-api
10
10
 
11
+ ## 0.6.10 변경 - 클러스터 관리 API 를 판사/조정자 모델로 (클러스터는 엔진 7.0.1.3391 이상)
12
+
13
+ 클러스터 하나는 관리 서비스 셋(판사 · MAIN · SUB)에 **각자 정의를 만듭니다.** 한 서비스에 만들면 나머지에 퍼지던 옛 방식은 엔진에서 없어졌습니다.
14
+
15
+ - 정의는 `ILClusterProperty.judge(name, main, sub, ilcc_port)` 와 `ILClusterProperty.coordinator(name, "MAIN" 또는 "SUB", ilcc_port)` 로 만들고, 세 서비스에서 각각 `createCluster(정의)` 합니다.
16
+ - 노드(`ILClusterNode`)에 그 호스트 조정자의 `ilcc_port` 를 싣습니다. 판사 정의와 그 조정자 정의 **두 곳에 같은 값**을 적습니다.
17
+ - `setClusterProperty` 로 바꿀 수 있는 것은 자동 기동(어디서나)과 하트비트(판사에서만)뿐입니다. 타입 · ilcc 포트 · 노드를 바꾸려면 세 곳에서 지우고 다시 만듭니다.
18
+ - `removeCluster` / `startCluster` / `stopCluster` 는 **접속한 서비스만** 다룹니다. 떠 있어도 지워집니다. `stopCluster` 는 정지를 기다리지 않으므로, 곧바로 다시 띄우려면 상태가 `STOPPED` 인지 먼저 확인하십시오.
19
+ - `getClusterDefDiag` 는 새 본문(FORMAT 2)을 읽습니다. 판사에 물으면 두 조정자의 상태가, 조정자에 물으면 판사와의 관계가 옵니다.
20
+ - 기동/정지 실패 사유가 "-1" 대신 엔진이 준 사유로 올라옵니다.
21
+ - **없어진 API**: `addClusterNode` / `removeClusterNode`, `getLastClusterWarning`, 이름 · 포트로 만드는 `createCluster` 형태, `ILClusterProperty` 의 `priSvc` · `secSvc` · `witSvc` · 세 포트 · `role` · `add_node` · `remove_node`, 옛 진단 접근자(`getLocal`, `getLocalAddress`, `isMissing`, `hasAgreement` 등), 상수 `CLUSTER_NO_NODES_MIN_REVISION` · `CLUSTER_DEFDIAG_MAX_FORMAT` · `CLUSTER_DEFDIAG_MAX_ELAPSED_MS`.
22
+
23
+ 그 밖:
24
+
25
+ - 프레임 길이가 999,999,999 바이트를 넘으면 **보내기 전에** `MIMQE_MSG_SIZE_OVER` 로 막습니다. 엔진은 그런 프레임을 받으면 사유 없이 연결을 끊습니다. `maxRequestSize` 는 999,999,974 를 넘지 않게 보정됩니다.
26
+
11
27
  ## 0.6.9 변경 - 파티션을 클라이언트가 정한다 (엔진 7.0.1.3401 이상 필요)
12
28
 
13
29
  엔진이 더는 파티션을 고르지 않습니다. 이 판부터 producer 와 관리 API 단건 발행이 파티션을 정해 보냅니다(Kafka 와 같은 방식).
@@ -1,6 +1,6 @@
1
1
  """iLink - Python client API for iLink M.O.M. (Message Oriented Middleware)."""
2
2
 
3
- __version__ = "0.6.9"
3
+ __version__ = "0.6.10"
4
4
 
5
5
  # --- Admin / Service ---
6
6
  from .admin import ILAdminService, ILAdminQmgr, ILLogBrowser, ILQueueBrowser