You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "gardenia (via GitHub)" <gi...@apache.org> on 2026/06/15 12:46:44 UTC
[PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
gardenia opened a new pull request, #10518:
URL: https://github.com/apache/ozone/pull/10518
Please describe your PR in detail:
* Added a kafka cluster as optional addition to the "ozone-ha" docker compose setup.
This can be enabled as follows:
`docker compose -f docker-compose.yaml -f kafka.yaml up`
## How was this patch tested?
manual
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "gardenia (via GitHub)" <gi...@apache.org>.
gardenia commented on code in PR #10518:
URL: https://github.com/apache/ozone/pull/10518#discussion_r3579488263
##########
hadoop-ozone/dist/src/main/compose/ozone-ha/kafka.yaml:
##########
@@ -0,0 +1,85 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+x-om-kafka-config:
+ &om-kafka-config
+ env_file:
+ - docker-config
+ - kafka-config
+
+services:
+ om1:
+ <<: *om-kafka-config
+ om2:
+ <<: *om-kafka-config
+ om3:
+ <<: *om-kafka-config
+
+ zookeeper:
+ image: confluentinc/cp-zookeeper:7.6.0
+ hostname: zookeeper
+ container_name: zookeeper
+ ports:
+ - "2181:2181"
+ environment:
+ ZOOKEEPER_CLIENT_PORT: 2181
+ ZOOKEEPER_TICK_TIME: 2000
+
+ kafka-1:
+ image: confluentinc/cp-kafka:7.6.0
Review Comment:
No preference on my side. I have switched to apache/kafka as you suggested. Thx.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10518:
URL: https://github.com/apache/ozone/pull/10518#issuecomment-4898859701
This PR has been marked as stale due to 21 days of inactivity. Please comment or remove the stale label to keep it open. Otherwise, it will be automatically closed in 7 days.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #10518: HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing
URL: https://github.com/apache/ozone/pull/10518
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "gardenia (via GitHub)" <gi...@apache.org>.
gardenia commented on PR #10518:
URL: https://github.com/apache/ozone/pull/10518#issuecomment-4709950659
@ChenSammi FYI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #10518:
URL: https://github.com/apache/ozone/pull/10518#issuecomment-5040406695
Thank you for your contribution. This PR is being closed due to inactivity. Please contact a maintainer if you would like to reopen it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "gardenia (via GitHub)" <gi...@apache.org>.
gardenia commented on code in PR #10518:
URL: https://github.com/apache/ozone/pull/10518#discussion_r3579483468
##########
hadoop-ozone/dist/src/main/compose/ozone-ha/kafka.yaml:
##########
@@ -0,0 +1,85 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+x-om-kafka-config:
+ &om-kafka-config
+ env_file:
+ - docker-config
+ - kafka-config
Review Comment:
Done. Thx.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
Re: [PR] HDDS-14008. EventNotification: Added kafka cluster to ozone-ha docker setup for end-to-end testing [ozone]
Posted by "chihsuan (via GitHub)" <gi...@apache.org>.
chihsuan commented on code in PR #10518:
URL: https://github.com/apache/ozone/pull/10518#discussion_r3559821294
##########
hadoop-ozone/dist/src/main/compose/ozone-ha/kafka.yaml:
##########
@@ -0,0 +1,85 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+x-om-kafka-config:
+ &om-kafka-config
+ env_file:
+ - docker-config
+ - kafka-config
+
+services:
+ om1:
+ <<: *om-kafka-config
+ om2:
+ <<: *om-kafka-config
+ om3:
+ <<: *om-kafka-config
+
+ zookeeper:
+ image: confluentinc/cp-zookeeper:7.6.0
+ hostname: zookeeper
+ container_name: zookeeper
+ ports:
+ - "2181:2181"
+ environment:
+ ZOOKEEPER_CLIENT_PORT: 2181
+ ZOOKEEPER_TICK_TIME: 2000
+
+ kafka-1:
+ image: confluentinc/cp-kafka:7.6.0
Review Comment:
nit: any preference for `confluentinc/cp-kafka` vs the ASF-official `apache/kafka` image here? Not blocking, just curious since this lives in an Apache repo.
##########
hadoop-ozone/dist/src/main/compose/ozone-ha/kafka.yaml:
##########
@@ -0,0 +1,85 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+x-om-kafka-config:
+ &om-kafka-config
+ env_file:
+ - docker-config
+ - kafka-config
Review Comment:
nit: the base `ozone-ha` om services already pull in `docker-config` via `x-common-config`, and compose concatenates `env_file` across files, so docker-config ends up listed twice (harmless). This anchor could just list `kafka-config`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org