StreamsBuilder sb = new StreamsBuilder(); KTable example = sb.stream(inputs, Consumed.with(Serdes.Integer(), Serdes.Integer()))