Skip to content

Instantly share code, notes, and snippets.

View configbug's full-sized avatar
🏠
Working from home

Daniel Huamán configbug

🏠
Working from home
View GitHub Profile
@configbug
configbug / docker-compose.yml
Created April 15, 2021 17:45 — forked from rmoff/docker-compose.yml
Docker-Compose for Kafka and Zookeeper with internal and external listeners
---
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:latest
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
kafka:

Descripción adicional

Peru 🇵🇪 3 - Canadá 🇨🇦 0

@configbug
configbug / featureFlag.ts
Created June 25, 2024 19:54 — forked from TheTempas/featureFlag.ts
Feature Flag
const newFeature = await this.featureFlags.newFeature(); // retrieve value of Feature Flag
if (newFeature) {
await this.newFeatureLogic(data); // execute logic for new feature
} else {
await this.statusQuoLogic(data); // execute logic that is the status quo
}