PadoGrid | Catalogs | Manual | FAQ | Releases | Templates | Pods | Kubernetes | Docker | Apps | Quick Start
This bundle serves as a template for creating a new Kafka onlne bundle.
✏️ Please see Installing Bundles for instructions on how to install bundles and their required software.
install_bundle -download bundle-kafka-templateIf you are creating a new Kafka online bundle, then you can use this template to create your bundle repo. It includes all the required files with marked annotations for you to quickly start developing a new online bundle. Please follow the steps shown below.
Select Use this template button in the upper right coner to create your repo. Make sure to follow the bundle naming conventions described in the following link.
# PadoGrid 0.9.7+
install_bundle -checkout <bundle-repo-name>
# PadoGrid 0.9.6 and older
install_bundle -download -workspace <bundle-repo-name>
# Switch into the checked out bundle workspace
switch_workspace <bundle-repo-name>Update the files came with the template repo.
pom.xmlassembly-descriptor.xml.gitignoreREADME_HEADER.md(Optional)README.md(This file)README.TEMPLATE(Remove it when done. See instructions below.)required_products.txt
The pom.xml file contains instructions annocated with @template. Search @template and add your bundle specifics there.
This file creates a tarball that will be deployed when the user executes the install_bundle -download command. Search @template and add your bundle specifics there.
The .gitignore file lists workspace specific files to be excluded from getting checked in. Edit .gitignore and add new exludes or remove existing excludes.
vi .gitignoreMake sure to comment out your workspace directories (components) so that they can be included by git.
...
# PadoGrid workspace directories
apps
clusters
docker
k8s
pods
...Enter a short description of your bundle in the README_HEADER.md file. This file content is displayed when you execute the show_bundle -header command. Note that this file is optional. If it does not exist, then the first paragraph of the README.md file is used instead.
Replace README.md with the README_TEMPLATE.md file. Make sure to remove README_TEMPLATE.md after you have replaced READEME.md with it.
cp README_TEMPLATE.md README.md
git rm README_TEMPLATE.mdUpdate the READEME.md file by following the instructions in that file.
The required_products.txt file must include a list of required products and their versions. Its format is described in the following link.
Relaxed Bundle Naming Conventions
You can freely make changes and test the bundle in the workspace. When you are ready to check in, you simply commit the changes using the git commit command. For new files, you will need to select only the ones that you want to check in using the git status -u and git diff commands. For those files that you do not want to check in, you can list them in the .gitignore file so that they do not get checked in accidentally.
PadoGrid | Catalogs | Manual | FAQ | Releases | Templates | Pods | Kubernetes | Docker | Apps | Quick Start