Skip to content

Commit

Permalink
Update documentation and java version in Installation section (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsimsek authored Jan 2, 2025
1 parent c8c6e90 commit 8d4e22c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 39 deletions.
36 changes: 0 additions & 36 deletions CHANGELOG.md

This file was deleted.

4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Contributing

Debezium Iceberg consumer is a very young project and looking for new maintainers. There are definitively many small/big improvements to do, including documentation, adding new features to submitting bug reports.
Debezium Iceberg consumer is a very young project and looking for new maintainers. There are definitively many small/big
improvements to do, including documentation, adding new features to submitting bug reports.

Please feel free to send pull request, report bugs or open feature request.

## License

By contributing, you agree that your contributions will be licensed under Apache 2.0 License.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For a full understanding of current limitations and recommended solutions, pleas

# Installation
- Requirements:
- JDK 11
- JDK 21
- Maven
### Building from source code
1. Clone the repository
Expand All @@ -43,7 +43,8 @@ bash run.sh

It's possible to use python to run,operate debezium server

This project provides Python scripts to automate the startup, shutdown, and configuration of Debezium Server. By leveraging Python, you can manage Debezium Server.
For convenience this project additionally provides Python scripts to automate the startup, shutdown, and configuration of Debezium Server.
Using Python, you can do various Debezium Server operation and take programmatic, dynamic, debezium configuration.
example:

```commandline
Expand All @@ -64,9 +65,18 @@ d.run(*java_args)
```

```python
import os
from debezium import DebeziumRunAsyn

java_args = []
# using python we can dynamically influence debezium
# by chaning its config within python
if my_custom_condition_check is True:
# Option 1: set config using java arg
java_args.append("-Dsnapshot.mode=always")
# Option 2: set config using ENV variable
os.environ["SNAPSHOT_MODE"] = "always"

java_args.append("-Dquarkus.log.file.enable=true")
java_args.append("-Dquarkus.log.file.path=/logs/dbz_logfile.log")
d = DebeziumRunAsyn(debezium_dir="/dbz/server/dir", java_home='/java/home/dir', java_args=java_args)
Expand Down

0 comments on commit 8d4e22c

Please sign in to comment.