You can use stateful variables to perform stateful computing in a streaming mapping. This article presents a use case about using stateful variables to version data. You can navigate the use case to understand how stateful variables can achieve stateful computing and to think about how you can employ stateful variables based on your unique requirements.