Question: I have a kafka streams app consuming from kafka topic. It only consumes and processes the data but doesn't produce anything.

For Kafka's exactly\_once processing to work, do you also need your streams app to write to a kafka topic? 

How can you achieve exactly\_once if your streams app wants to process the message only once but not produce anything?

Answer: 
Looks like a buttons value is always a string. You should not be giving the button a value like this anyways, this is very roundabout. Why not just access the state directly:

```
 addOne = (event) => {
    var { target: { name } } = event

    this.setState({
        [name] : this.state[name] + 1
    });

    console.log("name: " + name + "\nvalue: " + this.state[name])

  }

```

Then you can just remove the value from the buttons. No string conversion necessary.
wrap the `value` with `parseInt()` as it is being received as `string` from `event`.

```
this.setState({
        [name] : parseInt(value) + 1
    });

```

if you'd `console.log(typeof value)`, you'd see that it's type is `string`.