In order to reproduce:
- Use https://github.com/matzew/kn-box to install 0.21 using the scripts:
./00-installer-kind.sh && ./02-kn-eventing.sh && ./03-strimzi.sh && ./04-kn-kafka.sh
NOTE: it seems like the last version of strimzi has a setup issue, I manually modified the 03-strimzi.sh script to setup the 0.21.0
version, you might need to do the same.
- Make sure you checkout on your local machine this branch of eventing https://github.com/slinkydeveloper/eventing/tree/kafkachannel_hack and this branch of eventing-kafka https://github.com/slinkydeveloper/eventing-kafka/tree/post_install_script
- Copy all the yamls in this gist somewhere in a directory
- Use
ko apply
to install them. This will setup a KafkaChannel with a sub and will start sending events continuosly to the channel. From now on you have 10 mins to complete the rest of the procedure. - Install eventing from source using
ko apply -f config
- Install eventing-kafka from source new CRD with
kubectl apply -f config/channel/resources
- Install consolidated channel from source new version using
ko apply -f config/channel/consolidated
(make sure you don't overwrite the config kafka CM, for simplicity just remove it from the config dir) - Run post install with
ko apply -f config/post-install
- Check subs and channel status, and then wait for sacura to end and check the report. You should see a bunch of status code 0 errors, maybe some 404, but nothing else.
- Add a new sub to the channel previously created and add a new channel and a sub associated to make sure everything works properly