Skip to content

Instantly share code, notes, and snippets.

View ericbottard's full-sized avatar

Eric Bottard ericbottard

  • Broadcom
  • Paris
  • 11:15 (UTC +02:00)
View GitHub Profile
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: petstore
namespace: external-systems
description: Petstore
spec:
type: service
lifecycle: experimental
owner: group:pet-managers
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: create-react-app-template
title: Create React App Template
description: Create a new CRA website project
tags:
- react
- cra
spec:
@ericbottard
ericbottard / TestKafkaCluster.java
Created October 22, 2014 15:41
Evolution of https://gist.github.com/ericbottard/91aa9ee114c6091e5b7b that adds synchronization between each consumer creation, monitoring nodes removal and re-adding before it proceeds.
/*
* Copyright 2014 the original author or authors.
*
* Licensed 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
/*
* Copyright 2014 the original author or authors.
*
* Licensed 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