Skip to content

Instantly share code, notes, and snippets.

fun f() {
var x = 0
g(x)
// I need x to be 1 at this point
}
fun g(x : Int) {
x = 1
}
async def f():
print 'hello'
def main(argv):
#Suppose this variable is determined at runtime somehow
number_of_coroutines = 4
wait asyncio.gather(f, for i in range(4))
FROM confluentinc/cp-kafkacat
CMD kafkacat -b localhost:9092 -t <my_topic> -T -P -l /tmp/msgs <=== WHAT DO I DO WITH ALL THOSE FLAGS AND THEIR PARAMETERS
FROM confluentinc/cp-kafkacat
CMD kafkacat -b localhost:9092 -t <my_topic> -T -P -l /tmp/msgs <=== WHAT DO I DO WITH ALL THOSE FLAGS AND THEIR PARAMETERS