pydbzengine 3.0.7.0__py3-none-any.whl

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 (84) hide show
  1. pydbzengine/__init__.py +171 -0
  2. pydbzengine/debezium/libs/activation-1.1.1.jar +0 -0
  3. pydbzengine/debezium/libs/antlr4-runtime-4.10.1.jar +0 -0
  4. pydbzengine/debezium/libs/aopalliance-repackaged-2.6.1.jar +0 -0
  5. pydbzengine/debezium/libs/checker-qual-3.31.0.jar +0 -0
  6. pydbzengine/debezium/libs/commons-lang3-3.12.0.jar +0 -0
  7. pydbzengine/debezium/libs/connect-api-3.9.0.jar +0 -0
  8. pydbzengine/debezium/libs/connect-file-3.9.0.jar +0 -0
  9. pydbzengine/debezium/libs/connect-json-3.9.0.jar +0 -0
  10. pydbzengine/debezium/libs/connect-runtime-3.9.0.jar +0 -0
  11. pydbzengine/debezium/libs/connect-transforms-3.9.0.jar +0 -0
  12. pydbzengine/debezium/libs/debezium-api-3.0.7.Final.jar +0 -0
  13. pydbzengine/debezium/libs/debezium-connector-binlog-3.0.7.Final.jar +0 -0
  14. pydbzengine/debezium/libs/debezium-connector-mysql-3.0.7.Final.jar +0 -0
  15. pydbzengine/debezium/libs/debezium-connector-postgres-3.0.7.Final.jar +0 -0
  16. pydbzengine/debezium/libs/debezium-core-3.0.7.Final.jar +0 -0
  17. pydbzengine/debezium/libs/debezium-ddl-parser-3.0.7.Final.jar +0 -0
  18. pydbzengine/debezium/libs/debezium-embedded-3.0.7.Final.jar +0 -0
  19. pydbzengine/debezium/libs/debezium-storage-file-3.0.7.Final.jar +0 -0
  20. pydbzengine/debezium/libs/debezium-storage-kafka-3.0.7.Final.jar +0 -0
  21. pydbzengine/debezium/libs/hk2-api-2.6.1.jar +0 -0
  22. pydbzengine/debezium/libs/hk2-locator-2.6.1.jar +0 -0
  23. pydbzengine/debezium/libs/hk2-utils-2.6.1.jar +0 -0
  24. pydbzengine/debezium/libs/jackson-annotations-2.16.2.jar +0 -0
  25. pydbzengine/debezium/libs/jackson-core-2.16.2.jar +0 -0
  26. pydbzengine/debezium/libs/jackson-databind-2.16.2.jar +0 -0
  27. pydbzengine/debezium/libs/jackson-datatype-jdk8-2.16.2.jar +0 -0
  28. pydbzengine/debezium/libs/jackson-datatype-jsr310-2.16.2.jar +0 -0
  29. pydbzengine/debezium/libs/jackson-jaxrs-base-2.16.2.jar +0 -0
  30. pydbzengine/debezium/libs/jackson-jaxrs-json-provider-2.16.2.jar +0 -0
  31. pydbzengine/debezium/libs/jackson-module-afterburner-2.16.2.jar +0 -0
  32. pydbzengine/debezium/libs/jackson-module-jaxb-annotations-2.16.2.jar +0 -0
  33. pydbzengine/debezium/libs/jakarta.activation-api-1.2.2.jar +0 -0
  34. pydbzengine/debezium/libs/jakarta.annotation-api-1.3.5.jar +0 -0
  35. pydbzengine/debezium/libs/jakarta.inject-2.6.1.jar +0 -0
  36. pydbzengine/debezium/libs/jakarta.validation-api-2.0.2.jar +0 -0
  37. pydbzengine/debezium/libs/jakarta.ws.rs-api-2.1.6.jar +0 -0
  38. pydbzengine/debezium/libs/jakarta.xml.bind-api-2.3.3.jar +0 -0
  39. pydbzengine/debezium/libs/javassist-3.29.0-GA.jar +0 -0
  40. pydbzengine/debezium/libs/javax.activation-api-1.2.0.jar +0 -0
  41. pydbzengine/debezium/libs/javax.servlet-api-3.1.0.jar +0 -0
  42. pydbzengine/debezium/libs/javax.ws.rs-api-2.1.1.jar +0 -0
  43. pydbzengine/debezium/libs/jaxb-api-2.3.1.jar +0 -0
  44. pydbzengine/debezium/libs/jersey-client-2.39.1.jar +0 -0
  45. pydbzengine/debezium/libs/jersey-common-2.39.1.jar +0 -0
  46. pydbzengine/debezium/libs/jersey-container-servlet-2.39.1.jar +0 -0
  47. pydbzengine/debezium/libs/jersey-container-servlet-core-2.39.1.jar +0 -0
  48. pydbzengine/debezium/libs/jersey-hk2-2.39.1.jar +0 -0
  49. pydbzengine/debezium/libs/jersey-server-2.39.1.jar +0 -0
  50. pydbzengine/debezium/libs/jetty-client-9.4.56.v20240826.jar +0 -0
  51. pydbzengine/debezium/libs/jetty-continuation-9.4.56.v20240826.jar +0 -0
  52. pydbzengine/debezium/libs/jetty-http-9.4.56.v20240826.jar +0 -0
  53. pydbzengine/debezium/libs/jetty-io-9.4.56.v20240826.jar +0 -0
  54. pydbzengine/debezium/libs/jetty-security-9.4.12.v20180830.jar +0 -0
  55. pydbzengine/debezium/libs/jetty-server-9.4.56.v20240826.jar +0 -0
  56. pydbzengine/debezium/libs/jetty-servlet-9.4.12.v20180830.jar +0 -0
  57. pydbzengine/debezium/libs/jetty-servlets-9.4.56.v20240826.jar +0 -0
  58. pydbzengine/debezium/libs/jetty-util-9.4.56.v20240826.jar +0 -0
  59. pydbzengine/debezium/libs/jose4j-0.9.4.jar +0 -0
  60. pydbzengine/debezium/libs/kafka-clients-3.9.0.jar +0 -0
  61. pydbzengine/debezium/libs/log4j-api-2.24.3.jar +0 -0
  62. pydbzengine/debezium/libs/log4j-core-2.24.3.jar +0 -0
  63. pydbzengine/debezium/libs/log4j-slf4j2-impl-2.24.3.jar +0 -0
  64. pydbzengine/debezium/libs/lz4-java-1.8.0.jar +0 -0
  65. pydbzengine/debezium/libs/maven-artifact-3.9.6.jar +0 -0
  66. pydbzengine/debezium/libs/mysql-binlog-connector-java-0.40.2.jar +0 -0
  67. pydbzengine/debezium/libs/mysql-connector-j-9.1.0.jar +0 -0
  68. pydbzengine/debezium/libs/osgi-resource-locator-1.0.3.jar +0 -0
  69. pydbzengine/debezium/libs/plexus-utils-3.5.1.jar +0 -0
  70. pydbzengine/debezium/libs/postgresql-42.6.1.jar +0 -0
  71. pydbzengine/debezium/libs/protobuf-java-3.25.5.jar +0 -0
  72. pydbzengine/debezium/libs/reflections-0.9.12.jar +0 -0
  73. pydbzengine/debezium/libs/reload4j-1.2.25.jar +0 -0
  74. pydbzengine/debezium/libs/slf4j-api-2.0.16.jar +0 -0
  75. pydbzengine/debezium/libs/snappy-java-1.1.10.5.jar +0 -0
  76. pydbzengine/debezium/libs/swagger-annotations-2.2.8.jar +0 -0
  77. pydbzengine/debezium/libs/zstd-jni-1.5.6-4.jar +0 -0
  78. pydbzengine/install_libs.sh +7 -0
  79. pydbzengine/pom.xml +62 -0
  80. pydbzengine-3.0.7.0.dist-info/LICENSE +201 -0
  81. pydbzengine-3.0.7.0.dist-info/METADATA +20 -0
  82. pydbzengine-3.0.7.0.dist-info/RECORD +84 -0
  83. pydbzengine-3.0.7.0.dist-info/WHEEL +5 -0
  84. pydbzengine-3.0.7.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,171 @@
1
+ import traceback
2
+ from abc import ABC
3
+ from pathlib import Path
4
+ from typing import List
5
+
6
+ ################# INIT PYJNIUS ####################
7
+ DEBEZIUM_JAVA_LIBS_DR = Path(__file__).parent.joinpath("debezium/libs/*").as_posix()
8
+ CLASS_PATHS = [DEBEZIUM_JAVA_LIBS_DR]
9
+ CONFIG_DIR = Path().cwd().joinpath('config')
10
+ if CONFIG_DIR.is_dir() and CONFIG_DIR.exists():
11
+ print(f"Adding classpath: {CONFIG_DIR.as_posix()}")
12
+ CLASS_PATHS.append(CONFIG_DIR.as_posix())
13
+
14
+ import jnius_config
15
+
16
+ # jnius_config.add_options('-Dlog4j.debug')
17
+ jnius_config.add_classpath(*CLASS_PATHS)
18
+ from jnius import autoclass
19
+ from jnius import PythonJavaClass, java_method, JavaMethod
20
+
21
+ ################# JAVA REFLECTION CLASSES #################
22
+ Properties = autoclass('java.util.Properties')
23
+ DebeziumEngine = autoclass('io.debezium.engine.DebeziumEngine')
24
+ # following class is used by DebeziumEngine(above class)
25
+ DebeziumEngineBuilder = autoclass('io.debezium.engine.DebeziumEngine$Builder')
26
+ # NOTE: Override the notifying method somehow jnius was calling wrong java method. (first one)
27
+ DebeziumEngineBuilder.notifying = JavaMethod(
28
+ '(Lio/debezium/engine/DebeziumEngine$ChangeConsumer;)Lio/debezium/engine/DebeziumEngine$Builder;')
29
+ StopEngineException = autoclass('io.debezium.engine.StopEngineException')
30
+ JavaLangSystem = autoclass('java.lang.System')
31
+ JavaLangThread = autoclass('java.lang.Thread')
32
+
33
+
34
+ class RecordCommitter(ABC):
35
+ """
36
+ USed for type hinting, for a coding convenience!
37
+ imitates: io.debezium.engine.DebeziumEngine$RecordCommitter class
38
+ """
39
+
40
+ def markProcessed(self, record):
41
+ pass
42
+
43
+ def markBatchFinished(self):
44
+ pass
45
+
46
+
47
+ class ChangeEvent(ABC):
48
+ """
49
+ USed for type hinting, for a coding convenience!
50
+ imitates: org.apache.kafka.connect.connector.ConnectRecord class
51
+ """
52
+
53
+ def key(self) -> str:
54
+ pass
55
+
56
+ def value(self) -> str:
57
+ pass
58
+
59
+ # def headers(self) -> str:
60
+ # pass
61
+ def destination(self) -> str:
62
+ pass
63
+
64
+ def partition(self) -> int:
65
+ pass
66
+
67
+
68
+ class EngineFormat:
69
+ JSON = autoclass('io.debezium.engine.format.Json')
70
+
71
+
72
+ class BasePythonChangeHandler(ABC):
73
+ """
74
+ Abstract class which end user needs to implement and pass it to PythonChangeConsumer!
75
+ this is pure python class which receives variables which are type of java reflection classes.
76
+ """
77
+
78
+ def handleJsonBatch(self, records: List[ChangeEvent], committer: RecordCommitter):
79
+ """
80
+ receives events from java! both records and committer arguments are java reflection classes.
81
+ here we can read generated json events, and consume them
82
+
83
+ :param records: list of records. reflection of: org.apache.kafka.connect.connector.ConnectRecord
84
+ :param committer: reflection of: io.debezium.engine.DebeziumEngine$RecordCommitter
85
+ :return:
86
+ """
87
+ raise NotImplementedError(
88
+ "Not implemented, Please implement BasePythonChangeHandler and use it to consume events!")
89
+
90
+
91
+ class PythonChangeConsumer(PythonJavaClass):
92
+ """
93
+ IMPORTANT: Java class implementation in Python. Proxy class
94
+ implements ChangeConsumer interface of the debezium
95
+
96
+ holds one additional pyhon argument self.handler, which is responsible to consume the events within python
97
+ """
98
+ __javainterfaces__ = ['io/debezium/engine/DebeziumEngine$ChangeConsumer']
99
+
100
+ def __init__(self):
101
+ self.handler: BasePythonChangeHandler
102
+
103
+ @java_method('(Ljava/util/List;Lio/debezium/engine/DebeziumEngine$RecordCommitter;)V')
104
+ def handleBatch(self, records: List[ChangeEvent], committer: RecordCommitter):
105
+ """
106
+ :param records: list of records. reflection of: org.apache.kafka.connect.connector.ConnectRecord
107
+ :param committer: reflection of: io.debezium.engine.DebeziumEngine$RecordCommitter
108
+ :return:
109
+ """
110
+ try:
111
+ self.handler.handleJsonBatch(records=records, committer=committer)
112
+ except Exception as e:
113
+ print("ERROR: failed to consume events in python")
114
+ print(str(e))
115
+ print(traceback.format_exc())
116
+ JavaLangThread.currentThread().interrupt()
117
+
118
+ @java_method('()Z')
119
+ def supportsTombstoneEvents(self):
120
+ return True
121
+
122
+ def set_change_handler(self, handler: BasePythonChangeHandler):
123
+ """
124
+ # NOTE: Additional method, not part of the java interface definition.
125
+ Sets handler class. all the java arguments are passed to this class for processing within python system.
126
+ """
127
+ self.handler = handler
128
+
129
+ def interrupt(self):
130
+ """
131
+ # NOTE: Additional method, not part of the java interface definition.
132
+ Used to stop debezium run. used to interrupt debezium process when any error happens processing data with python
133
+ """
134
+ print("Interrupt called in python consumer")
135
+ JavaLangThread.currentThread().interrupt()
136
+
137
+
138
+ class DebeziumJsonEngine:
139
+ """
140
+ Main pyton class which puts everything together. the Main application.
141
+ """
142
+ def __init__(self, properties: Properties, handler: BasePythonChangeHandler):
143
+ self.properties: Properties = properties
144
+
145
+ if self.properties is None:
146
+ raise ValueError("Please provide debezium config properties!")
147
+ if handler is None:
148
+ raise ValueError("Please provide handler class, see example class `pydbzengine.BasePythonChangeHandler`!")
149
+
150
+ # Python class which implements java interface, proxy class
151
+ self.consumer = PythonChangeConsumer()
152
+ # give it additional pyhon class to hand over the data/arguments received from java
153
+ self._handler = handler
154
+ self.consumer.set_change_handler(self._handler)
155
+ # instantiation of the java application, Embedded engine.
156
+ self.engine: DebeziumEngine = (DebeziumEngine.create(EngineFormat.JSON)
157
+ .using(self.properties)
158
+ .notifying(self.consumer)
159
+ .build())
160
+
161
+ def run(self):
162
+ """
163
+ Start the execution of debezium Embedded engine
164
+ """
165
+ self.engine.run()
166
+
167
+ def interrupt(self):
168
+ """
169
+ calls java interrupt to stop the Embedded engine
170
+ """
171
+ self.consumer.interrupt()
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+
3
+ CURRENT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4
+
5
+ cd ${CURRENT_DIR}
6
+ find "${CURRENT_DIR}/debezium/libs" -type f -delete
7
+ mvn dependency:copy-dependencies -DoutputDirectory="${CURRENT_DIR}/debezium/libs"
pydbzengine/pom.xml ADDED
@@ -0,0 +1,62 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ xmlns="http://maven.apache.org/POM/4.0.0"
4
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+ <modelVersion>4.0.0</modelVersion>
6
+ <groupId>org.memiiso</groupId>
7
+ <artifactId>pydebezium</artifactId>
8
+ <version>1.0-SNAPSHOT</version>
9
+ <properties>
10
+ <maven.compiler.source>17</maven.compiler.source>
11
+ <maven.compiler.target>17</maven.compiler.target>
12
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13
+ <version.debezium>3.0.7.Final</version.debezium>
14
+ </properties>
15
+
16
+
17
+ <dependencyManagement>
18
+ <dependencies>
19
+ <dependency>
20
+ <groupId>io.debezium</groupId>
21
+ <artifactId>debezium-bom</artifactId>
22
+ <version>${version.debezium}</version>
23
+ <type>pom</type>
24
+ <scope>import</scope>
25
+ </dependency>
26
+ </dependencies>
27
+ </dependencyManagement>
28
+
29
+ <dependencies>
30
+ <dependency>
31
+ <groupId>io.debezium</groupId>
32
+ <artifactId>debezium-api</artifactId>
33
+ </dependency>
34
+ <dependency>
35
+ <groupId>io.debezium</groupId>
36
+ <artifactId>debezium-embedded</artifactId>
37
+ </dependency>
38
+ <dependency>
39
+ <groupId>io.debezium</groupId>
40
+ <artifactId>debezium-connector-mysql</artifactId>
41
+ </dependency>
42
+ <dependency>
43
+ <groupId>io.debezium</groupId>
44
+ <artifactId>debezium-connector-postgres</artifactId>
45
+ </dependency>
46
+ <dependency>
47
+ <groupId>org.slf4j</groupId>
48
+ <artifactId>slf4j-api</artifactId>
49
+ <version>2.0.16</version>
50
+ </dependency>
51
+ <dependency>
52
+ <groupId>org.apache.logging.log4j</groupId>
53
+ <artifactId>log4j-slf4j2-impl</artifactId>
54
+ <version>2.24.3</version>
55
+ </dependency>
56
+ <dependency>
57
+ <groupId>org.apache.logging.log4j</groupId>
58
+ <artifactId>log4j-core</artifactId>
59
+ <version>2.24.3</version>
60
+ </dependency>
61
+ </dependencies>
62
+ </project>
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.2
2
+ Name: pydbzengine
3
+ Version: 3.0.7.0
4
+ Summary: Python Debezium Embedded Engine
5
+ Author: Memiiso Organization
6
+ License: Apache License 2.0
7
+ Project-URL: Homepage, https://github.com/memiiso/pydbzengine
8
+ Project-URL: Documentation, https://github.com/memiiso/pydbzengine
9
+ Project-URL: Repository, https://github.com/memiiso/pydbzengine
10
+ Keywords: Debezium,Replication,CDC
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Programming Language :: Python :: 3
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: pyjnius==1.6.1
17
+ Provides-Extra: dev
18
+ Requires-Dist: testcontainers>=4.9.1; extra == "dev"
19
+
20
+ # pydbzengine
@@ -0,0 +1,84 @@
1
+ pydbzengine/__init__.py,sha256=s-RidRahBMUWW1eRJyoV6OTTF8Kl8MhD-AxXuPJz7Bg,6286
2
+ pydbzengine/install_libs.sh,sha256=pylT8VqD3Tt5t1EIY-kV7ThXFEuYa8V2kk9ExO4Vex4,254
3
+ pydbzengine/pom.xml,sha256=adP8BfNKKl-LON-7xsKdNwcyWlpS2Hj_JPgPskhFFJI,2249
4
+ pydbzengine/debezium/libs/activation-1.1.1.jar,sha256=rkdRIOn82ZtLALODKb1hzcXrdU7uA_5mwB9Q4TdyT5k,69409
5
+ pydbzengine/debezium/libs/antlr4-runtime-4.10.1.jar,sha256=2ma-DJis-ym8cIMA0F8aMmnED5mEpMuSUc8roYmNEzQ,322137
6
+ pydbzengine/debezium/libs/aopalliance-repackaged-2.6.1.jar,sha256=utd_knjXU0BjYK-eR0e9mzFhVU6pzT1iQRoK4fLBQf0,27006
7
+ pydbzengine/debezium/libs/checker-qual-3.31.0.jar,sha256=HO9fR20ixvtFOH3dhAT16CHL1mSHvhvfjuZIceY0Ubk,223971
8
+ pydbzengine/debezium/libs/commons-lang3-3.12.0.jar,sha256=2RnZBEhsA3-NGTQS2gyS4iqfokIwudZ6V4VcXDHH6U4,587402
9
+ pydbzengine/debezium/libs/connect-api-3.9.0.jar,sha256=QCqyBc6RMK6V7IAVRqgUleasyZU9mKw0zuO6UBrT9X0,109863
10
+ pydbzengine/debezium/libs/connect-file-3.9.0.jar,sha256=dj6NUpcv0V9ChJSFyagYy3wY2tVRwb21ID5X_tMhnnM,18309
11
+ pydbzengine/debezium/libs/connect-json-3.9.0.jar,sha256=ibhw2dOvlMDYj_PoxROvrj451sH8FzVrz2DtG1JaNew,34508
12
+ pydbzengine/debezium/libs/connect-runtime-3.9.0.jar,sha256=Tf-CL_A5xLT83nYr8TaIYP390AXRt4tJVBxgkwoXCnk,785084
13
+ pydbzengine/debezium/libs/connect-transforms-3.9.0.jar,sha256=1EzXBVvQDZaoFtt5WEliYQET5Zz2O6Ik0da0AJLmxrs,118602
14
+ pydbzengine/debezium/libs/debezium-api-3.0.7.Final.jar,sha256=urhQtqJjMzgw7XYQO--DqSPzqh1TUK8Njm8BDbx7EEU,31602
15
+ pydbzengine/debezium/libs/debezium-connector-binlog-3.0.7.Final.jar,sha256=Z6uIdP4UmTA3mpOw_7QbIHqdrVblUTZN56mwnn_gjps,178319
16
+ pydbzengine/debezium/libs/debezium-connector-mysql-3.0.7.Final.jar,sha256=2qtNp_JXKP9Zo2K3lTyzQC8BsIlZaeL84DMUYwsUj88,158264
17
+ pydbzengine/debezium/libs/debezium-connector-postgres-3.0.7.Final.jar,sha256=tbqtoL4xvwHbwfTLPBovOX2tTyHpTZABfxzIbIfxhPU,403807
18
+ pydbzengine/debezium/libs/debezium-core-3.0.7.Final.jar,sha256=3WCeGY3KsY-NRvA5yCy3xwppQtXoSbP5wAX8y4I7txI,1284970
19
+ pydbzengine/debezium/libs/debezium-ddl-parser-3.0.7.Final.jar,sha256=iYg6KpbN8TNotSpGIsVIQQ5Yo4lfAb92dnjWvieFAsk,4398240
20
+ pydbzengine/debezium/libs/debezium-embedded-3.0.7.Final.jar,sha256=bjVwdqMrcLP3CeusLVZPZUWnhJFpuI09XXEtnM3ac8I,123262
21
+ pydbzengine/debezium/libs/debezium-storage-file-3.0.7.Final.jar,sha256=i33YMDee2aYWIn6-_A0xo0KLPLG8argGkrhNRLq7UW4,6423
22
+ pydbzengine/debezium/libs/debezium-storage-kafka-3.0.7.Final.jar,sha256=VlkO8ZWI9jQrWakFvSIUJRcgKNC-IoL3Z1uTief_Xjc,16168
23
+ pydbzengine/debezium/libs/hk2-api-2.6.1.jar,sha256=wsuAoB5YRArlfV7lmvTU2U5RgOBK_xErDLYRwH1h53M,200223
24
+ pydbzengine/debezium/libs/hk2-locator-2.6.1.jar,sha256=_rxmjeufIADHa9SRjYCGwKTHTQe9DGBIa3LGvTi2KHQ,203358
25
+ pydbzengine/debezium/libs/hk2-utils-2.6.1.jar,sha256=MHJ_eQhkUv3v2rCEUdmCwggqojnZ91zesbonHjyIcDY,131590
26
+ pydbzengine/debezium/libs/jackson-annotations-2.16.2.jar,sha256=0c3SaeuqdT0YQpMxlOF9YZWPBYlS1j4D2_s9HXimkm4,78481
27
+ pydbzengine/debezium/libs/jackson-core-2.16.2.jar,sha256=T0Pi8UMLLSQT6OWj15E45X6JHWqWGxjCiskIWWOdhmQ,582784
28
+ pydbzengine/debezium/libs/jackson-databind-2.16.2.jar,sha256=U7YCXZjDVwaCluSxNCQkQ6JIwsWCgAh58cTqk7VLr6Y,1638583
29
+ pydbzengine/debezium/libs/jackson-datatype-jdk8-2.16.2.jar,sha256=PpsbWfY4tIe1rg4vQZD8mPcrC_ZhMk59_HGmn2udTik,36119
30
+ pydbzengine/debezium/libs/jackson-datatype-jsr310-2.16.2.jar,sha256=nQOtbUe1-ZUbdfsMrgdgFW-oJ3lHMM1e9s1503hcycA,127530
31
+ pydbzengine/debezium/libs/jackson-jaxrs-base-2.16.2.jar,sha256=1z1ORNlCUGaW8Z9TPvBWduR6Bk8A4_Tj5JdW4gyXHPw,31923
32
+ pydbzengine/debezium/libs/jackson-jaxrs-json-provider-2.16.2.jar,sha256=WRcZcJFqMOWdkrG_1QvE-mYYesChdrtXbpOQ9d7tTnQ,16644
33
+ pydbzengine/debezium/libs/jackson-module-afterburner-2.16.2.jar,sha256=_vUHoZX-JZfwIXyvWRyQp-VspNs7g__PulnKSbTRS_4,217885
34
+ pydbzengine/debezium/libs/jackson-module-jaxb-annotations-2.16.2.jar,sha256=2vCmHPIgCGgeUkpDVTDrM52uzZOtEfJBbyw4mXEF6GU,37122
35
+ pydbzengine/debezium/libs/jakarta.activation-api-1.2.2.jar,sha256=oYepORA671hJp6-EvX4nvi0SDEEK8pFDc3X_4GH08J0,46613
36
+ pydbzengine/debezium/libs/jakarta.annotation-api-1.3.5.jar,sha256=hfsD_AVM3078qO_ZtnEru0GOGrmCQcRTnIWFu8I-G4o,25058
37
+ pydbzengine/debezium/libs/jakarta.inject-2.6.1.jar,sha256=XojBI7PkG8p4iyaDEYhn2bbexxQkfqkcWIrtRqNu4k8,18140
38
+ pydbzengine/debezium/libs/jakarta.validation-api-2.0.2.jar,sha256=tC1CQo89kiyJKpCfoEMofVd8DFsWWtm31WjOv4f8nqQ,91930
39
+ pydbzengine/debezium/libs/jakarta.ws.rs-api-2.1.6.jar,sha256=TOopnIRsim5kcMv8L3w5G8KbnKovkmSsEGS6kWkfSt8,140376
40
+ pydbzengine/debezium/libs/jakarta.xml.bind-api-2.3.3.jar,sha256=wEU59HLppt0MdoXqgtZ3KCJpq457rKLhRQDjgeDGzsU,115638
41
+ pydbzengine/debezium/libs/javassist-3.29.0-GA.jar,sha256=YtQGU2LolpzmVPK1VB3h77W1vKbBRtvTillepN9kzTE,794034
42
+ pydbzengine/debezium/libs/javax.activation-api-1.2.0.jar,sha256=Q_3vC1ts6zGwQksgi5MMdKtY-sLO63s_b9OuuLXKQ5M,56674
43
+ pydbzengine/debezium/libs/javax.servlet-api-3.1.0.jar,sha256=r0VrLdQcToLPVPPnQ7xniXPZ_jW9TTBx-gXH5TM7hII,95806
44
+ pydbzengine/debezium/libs/javax.ws.rs-api-2.1.1.jar,sha256=LDCesslFX_7p2oUYxwo7bUa-KiabLioQHIBqU37-eaQ,126898
45
+ pydbzengine/debezium/libs/jaxb-api-2.3.1.jar,sha256=iLlVoN9XiAomp0cIvDT3Tcr46_TniEOii1Dq6UVzKwY,128076
46
+ pydbzengine/debezium/libs/jersey-client-2.39.1.jar,sha256=Rtv2gfkkizjc91zPSpIg1VgTrN_8iS2ggOSsDuNtJN4,308398
47
+ pydbzengine/debezium/libs/jersey-common-2.39.1.jar,sha256=XeY4VHZa9E9o-Bk4QJG9nxwvwHBM3qU9n3D-fz7vZZE,1222587
48
+ pydbzengine/debezium/libs/jersey-container-servlet-2.39.1.jar,sha256=aDTsEZzSbadsG1KdUrx7PFzb8fnSSZdUmJY2LF6QlpQ,32298
49
+ pydbzengine/debezium/libs/jersey-container-servlet-core-2.39.1.jar,sha256=gXX1Dp0gqpUP6wtp_E81Hx41x2BY8LhyqAZEqCaGz-M,73261
50
+ pydbzengine/debezium/libs/jersey-hk2-2.39.1.jar,sha256=AXA7PCHZ_cr3AZsjjOEEkKgV2lIx-MNYNCe46CWrong,78481
51
+ pydbzengine/debezium/libs/jersey-server-2.39.1.jar,sha256=8C1oP5f6cpWq6L8Jik9GBBiRw3FDLWIRwS6wT_0JaYo,949998
52
+ pydbzengine/debezium/libs/jetty-client-9.4.56.v20240826.jar,sha256=6JS8VrveuGgM8IRje03yOg_J3PMQSa5uaLLyrizYHh4,327896
53
+ pydbzengine/debezium/libs/jetty-continuation-9.4.56.v20240826.jar,sha256=nEd_qltKer8Q91U_X5PnkGNHDrU7HqKPIjB31oBBsks,25372
54
+ pydbzengine/debezium/libs/jetty-http-9.4.56.v20240826.jar,sha256=IDu0lkTyvgrqamrbMg5kgIFWWIuFT_Ixp1b2WEf81JM,249063
55
+ pydbzengine/debezium/libs/jetty-io-9.4.56.v20240826.jar,sha256=YqP4UuVuP_90cFvYTbqk9fxd0hgsmABCw1cxvKzqwoc,183011
56
+ pydbzengine/debezium/libs/jetty-security-9.4.12.v20180830.jar,sha256=UTGElwx4WsgwQkqcYsL636d6Yw9EqgvdeS8AqqCSiH4,93077
57
+ pydbzengine/debezium/libs/jetty-server-9.4.56.v20240826.jar,sha256=r7RN3Nc6bzH1GK9pxMpq8PDUOo879nuEL_lUiRynfmU,739465
58
+ pydbzengine/debezium/libs/jetty-servlet-9.4.12.v20180830.jar,sha256=cxDUzM-Kvyf94MPxoy4Zx1_jPG8atVjwcE2RXw8Bywc,110983
59
+ pydbzengine/debezium/libs/jetty-servlets-9.4.56.v20240826.jar,sha256=1lVucoW6RaWNGnonMbGDduYpN9Mv07-RbZnBkUGg_Uk,106201
60
+ pydbzengine/debezium/libs/jetty-util-9.4.56.v20240826.jar,sha256=CNEEaYJwZJYLAIB5Y6DSIfG3BgVMRVm8qcdMkviQaqo,588923
61
+ pydbzengine/debezium/libs/jose4j-0.9.4.jar,sha256=kBKqTCAxnTUVkDDDveyt5mhjAwqYM4v99zpSOISfudk,297776
62
+ pydbzengine/debezium/libs/kafka-clients-3.9.0.jar,sha256=FcHhN_LCyUOY4nq8QGCgO2veEL-frBXo9wwCMgsgLxg,9204801
63
+ pydbzengine/debezium/libs/log4j-api-2.24.3.jar,sha256=W0oKDNDnUd7UMcFiRCvb3VMyjR-Lsrrl_Bu-7g9m2A8,348513
64
+ pydbzengine/debezium/libs/log4j-core-2.24.3.jar,sha256=frQIRZauJb08YWmOSOjQq2WpJgdYiE7Vy7nG5VxEpWo,1914666
65
+ pydbzengine/debezium/libs/log4j-slf4j2-impl-2.24.3.jar,sha256=zarCLkDsMMQJbh6-jEVMiCbA0cN419tdezrRZjVLC9M,30133
66
+ pydbzengine/debezium/libs/lz4-java-1.8.0.jar,sha256=10ozNPs1GVAJszipUfkYID1rvKPR01kDPcM-3Rytye8,682804
67
+ pydbzengine/debezium/libs/maven-artifact-3.9.6.jar,sha256=rXoPtAj45HWFzMDQAR4LUB2Tv8mIjTabvUoEPRlHUHM,58708
68
+ pydbzengine/debezium/libs/mysql-binlog-connector-java-0.40.2.jar,sha256=BHvezmF9lj9Pz-XNe9uEHbPMR7sUVJ0GrMfx_k9e1C4,222234
69
+ pydbzengine/debezium/libs/mysql-connector-j-9.1.0.jar,sha256=h3bi68RgcsmkfqWdmCmMQnO9nxansmtd-kdEU1qibGI,2597591
70
+ pydbzengine/debezium/libs/osgi-resource-locator-1.0.3.jar,sha256=qrXXhJ98_Nosx8VBuhvTZRUdQidvFRyCU4ckXf3j3XQ,19479
71
+ pydbzengine/debezium/libs/plexus-utils-3.5.1.jar,sha256=huAlXUyHnGG0gz7X8TEk6LtnnfR967EnMm59t91JoHs,269335
72
+ pydbzengine/debezium/libs/postgresql-42.6.1.jar,sha256=ywd0_X0JsjniHp0Es3RKQId7_0Y6jVjD9AfPfZdsNVc,1074658
73
+ pydbzengine/debezium/libs/protobuf-java-3.25.5.jar,sha256=hUAkf62eBrrvqPtF6zE4AtAZ9IXxQwDg-da1Vu2I51M,1875414
74
+ pydbzengine/debezium/libs/reflections-0.9.12.jar,sha256=0Wj1jTLyrnrFqNXZCSre7lJsYEtBEl3LRe6od5YKmc8,105848
75
+ pydbzengine/debezium/libs/reload4j-1.2.25.jar,sha256=5xEVF1xLCAz1HdcglxZeoAH_n6_cT3nYgEnQsezKl5w,333325
76
+ pydbzengine/debezium/libs/slf4j-api-2.0.16.jar,sha256=oSV43eG6AL2bgW04iguHmSjQC6s8g8JA9wE79BlsV5o,69435
77
+ pydbzengine/debezium/libs/snappy-java-1.1.10.5.jar,sha256=Dz8YV-0zEWWD9IC031wCGINsR7-8nGIhwNc_NW3s83s,2299797
78
+ pydbzengine/debezium/libs/swagger-annotations-2.2.8.jar,sha256=Cvzf5Kd3X8zlHRBbj3yMpRRnbBa-pXFCNQPYOHd_Ed0,42083
79
+ pydbzengine/debezium/libs/zstd-jni-1.5.6-4.jar,sha256=eTyoc0qhVofn5kVk6ri2rp7icg6uJ6pmMHRoIUSxw4Y,6687870
80
+ pydbzengine-3.0.7.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
81
+ pydbzengine-3.0.7.0.dist-info/METADATA,sha256=zkv6-0BnAPNjJtEeXcF6w1_s0Si5vSPDbSgqQaaLEtA,690
82
+ pydbzengine-3.0.7.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
83
+ pydbzengine-3.0.7.0.dist-info/top_level.txt,sha256=vgoTJCVtDFMylg6z7YOd_aCXXdSC-I96geIUIAAvY08,12
84
+ pydbzengine-3.0.7.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1 @@
1
+ pydbzengine