You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/23 19:00:06 UTC
[GitHub] [pulsar] odmarkj opened a new pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
odmarkj opened a new pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688
### Motivation
No docker compose exists that includes all of Pulsar's components individually. Most things exist with the standalone version.
This provides an alternative way to the standalone. I believe this will help people learn how Pulsar works internally with the different components. It will also give a new way to potentially deploy Pulsar in production.
### Modifications
This does not actually modify the website, just adds more docker reference files. I plan to add a new page to the website in the future.
Added three files. 2 are net new, are directly associated with supporting docker compose to startup up Apache Pulsar.
The third file is a file that appears to have been deleted, but as far as I can tell, it still seems relevant, so I added it back. Either way, it shouldn't hurt anything being present.
A readme and a gitignore as also added, but not as important as the 3 above.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change is a trivial rework / code cleanup without any test coverage.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
- If a feature is not applicable for documentation, explain why?
- If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Huanli-Meng commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-794645467
@sijie @jiazhai @codelipenghui could any of you help review the PR from the technical point of view? Thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] linlinnn edited a comment on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
linlinnn edited a comment on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-823446337
Please add ASF license to let CI pass.

--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Huanli-Meng commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-788420800
@codelipenghui could you please help review the PR from the technical point of view. Feel free to involve other engs if required. Thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] linlinnn commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
linlinnn commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-827818289
@odmarkj Would you mind adding ASF license to pass CI just like [PR](https://github.com/apache/pulsar/pull/10409)
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Huanli-Meng commented on a change in pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
Huanli-Meng commented on a change in pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#discussion_r581680755
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
Review comment:
```suggestion
In this folder path, run the following command to start the cluster.
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
Review comment:
```suggestion
- ZooKeeper (3)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
Review comment:
```suggestion
- BookKeeper (3)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
Review comment:
```suggestion
- Pulsar Manager (1)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
Review comment:
```suggestion
- SQL (1)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
+
+You can shut it down with the following command in folder path:
+
+```
+docker-compose down
+```
+
+You may need to delete the `./data` folder created by the pulsar manager.
+
+## Notes
+
+Docker is notorious for being difficult to manage the startup order of containers. In Pulsar, startup order matters. This may cause some containers to fail and have to be restarted.
+
+Generally speaking, everything should be started up successfully in about 2 minutes.
+
+If you plan to use this in production, more care should be taken on restart policies, logging, configuration, etc.
+
+## TODO
+
+- Add more SQL workers
+- Dig into why PF_configurationStoreServers in fnc1 does not support a list of zookeeper instances
Review comment:
```suggestion
- Dig into why PF_configurationStoreServers in fnc1 does not support a list of ZooKeeper instances.
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
Review comment:
```suggestion
[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service URL for use with producers and consumers
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
+
+You can shut it down with the following command in folder path:
+
+```
+docker-compose down
+```
+
+You may need to delete the `./data` folder created by the pulsar manager.
+
+## Notes
+
+Docker is notorious for being difficult to manage the startup order of containers. In Pulsar, startup order matters. This may cause some containers to fail and have to be restarted.
+
+Generally speaking, everything should be started up successfully in about 2 minutes.
+
+If you plan to use this in production, more care should be taken on restart policies, logging, configuration, etc.
+
+## TODO
+
+- Add more SQL workers
Review comment:
```suggestion
- Add more SQL workers.
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
Review comment:
```suggestion
## URLs
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
Review comment:
```suggestion
- WebSocket (1)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
Review comment:
```suggestion
- Function (1)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
Review comment:
```suggestion
This will start individual containers for the following services:
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
+
+You can shut it down with the following command in folder path:
+
+```
+docker-compose down
+```
+
+You may need to delete the `./data` folder created by the pulsar manager.
+
+## Notes
+
+Docker is notorious for being difficult to manage the startup order of containers. In Pulsar, startup order matters. This may cause some containers to fail and have to be restarted.
+
+Generally speaking, everything should be started up successfully in about 2 minutes.
+
+If you plan to use this in production, more care should be taken on restart policies, logging, configuration, etc.
+
+## TODO
+
+- Add more SQL workers
+- Dig into why PF_configurationStoreServers in fnc1 does not support a list of zookeeper instances
+- Figure out why v0.2.0 of the dashboard was not working correctly
Review comment:
```suggestion
- Figure out why the dashboard ( v0.2.0) does not work correctly.
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
Review comment:
```suggestion
- Proxy (1)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
Review comment:
```suggestion
- Pulsar (3)
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
Review comment:
```suggestion
[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar-admin dashboard, showing various metrics and metadata information about the cluster
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
+
+You can shut it down with the following command in folder path:
+
+```
+docker-compose down
+```
+
+You may need to delete the `./data` folder created by the pulsar manager.
+
+## Notes
+
+Docker is notorious for being difficult to manage the startup order of containers. In Pulsar, startup order matters. This may cause some containers to fail and have to be restarted.
+
+Generally speaking, everything should be started up successfully in about 2 minutes.
+
+If you plan to use this in production, more care should be taken on restart policies, logging, configuration, etc.
+
+## TODO
Review comment:
```suggestion
## To-Do
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
Review comment:
```suggestion
[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
+
+This was created to create a Docker implementation that allows each individual part to be exposed to learn how it all fits together.
+
+## Urls
+
+Assuming localhost the following endpoint will be available:
+
+[web-dashboard - http://localhost:9527](http://localhost:9527) pulsar admin dashboard, shows various metrics and metatdata information about the cluster
+
+[broker-admin - http://localhost:8080](http://localhost:8080) access broker rest interface
+
+[broker-service-url - pulsar//:locahost:6650](pulsar//:locahost:6650) broker service url for use with producers and consumers
+
+You can shut it down with the following command in folder path:
+
+```
+docker-compose down
+```
+
+You may need to delete the `./data` folder created by the pulsar manager.
Review comment:
```suggestion
You may need to delete the `./data` folder created by the Pulsar Manager.
```
##########
File path: docker-compose/kitchen-sink/README.MD
##########
@@ -0,0 +1,76 @@
+<!--
+
+ 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.
+
+-->
+# Apache Pulsar Docker Compose
+
+In this folder path run the following command to start the cluster
+
+```
+docker-compose up
+```
+
+This will startup individual containers for the following services:
+
+- zookeeper (3)
+- bookkeeper (3)
+- pulsar (3)
+- proxy (1)
+- websocket (1)
+- function (1)
+- pulsar manager (1)
+- sql (1)
+
+## Motivation
+
+Most of what is available with Docker and Apache Pulsar used the standalone version of Apache Pulsar, which is fantastic, but takes care of all of the complexity of Apache Pulsar.
Review comment:
```suggestion
Most of what is available with Docker and Apache Pulsar uses the standalone version of Apache Pulsar, which is fantastic. But, users need to take care of all of the complexity of Apache Pulsar.
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] odmarkj commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
odmarkj commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-813616254
@jerrypeng @eolivelli Could either of you help with this? Should only take a few minutes to review.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] odmarkj commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
odmarkj commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-794329615
Ping.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] linlinnn commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
linlinnn commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-823446337
Please add ASF lisence to let CI pass.

--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] danielorf commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
danielorf commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-819220401
@codelipenghui @Huanli-Meng Mind taking another look at this? I think this is an important PR as it helps users to transition from standalone proof-of-concept to distributed testing before deploying to kubernetes.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] odmarkj commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
odmarkj commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-788313001
Any update? Would like to get it merged, a few people in the slack channel are keen to use this.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] odmarkj commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
odmarkj commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-823417301
Can we remove @codelipenghui ? Seems this person is too busy to review this.
Should be able to merge it at that point. Two months is a LONG time to wait for such a simple change that will help a lot of people.
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] odmarkj commented on pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
odmarkj commented on pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688#issuecomment-785251642
@sijie Ready for review again after accepting @Huanli-Meng changes.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] merlimat closed pull request #9688: [DOCS] Adding a docker compose version that includes the kitchen sink
Posted by GitBox <gi...@apache.org>.
merlimat closed pull request #9688:
URL: https://github.com/apache/pulsar/pull/9688
--
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org