-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
False
-
None
-
False
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
v2.7.2.Final
What is the captured database version and mode of deployment?
(E.g. on-premises, with a specific cloud provider, etc.)
Development environment using Apple Silicon M2 with macOS Ventura. Using Docker desktop with Apple Silicon support.
What behavior do you expect?
The command `mvn docker:build docker:start` specified in CONTRIBUTION.md should successfully build and start the Docker container for Debezium in an Apple Silicon environment.
What behavior do you see?
The `mvn docker:build docker:start command` fails to execute properly due to compatibility issues with Apple Silicon (M2) architecture. It fails during the build process, unable to pull or run certain Docker images that are not compatible with ARM architecture by default.
Do you see the same behaviour using the latest released Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
Yes, the behavior is observed with the latest stable release (v2.7.2.Final)
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.43.4:start (default-cli) on project debezium-connector-mysql: I/O Error: Unable to create container for [debezium/mysql-server-test-database] : {"message":"image with reference debezium/mysql-server-test-database was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64"} (Not Found: 404) -> [Help 1]
How to reproduce the issue using our tutorial deployment?
Run the command `mvn docker:build docker:start`
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
Ensuring compatibility and smoother development experience for contributors using Apple Silicon (M1/M2) by providing architecture-specific configuration in the pom.xml or additional guidelines in CONTRIBUTION.md.
Implementation ideas (optional)
•Add <platform>linux/amd64</platform> under the <run> section of the image configuration in the pom.xml file for each plugin to ensure compatibility on Apple Silicon environments.
•The image quay.io/debezium/postgres:12 cannot have its architecture specified directly in the <postgres.image>quay.io/debezium/postgres:${version.postgres.server}</postgres.image> code. To address this, the build process should be automated to support ARM architecture or modify the pom.xml to enforce the use of amd64.
•Update the README.md to provide guidance on configuring the settings.xml file for contributors.
I plan to request a pull request after organizing it further: