Project: springxd
Issue XD-3035: Kafka source module: Handling delete offsets
When the *stream* that holds the kafka source module is undeployed(but not destroyed yet), the underlying offset manager deletes the offsets associated with the steam. When same stream is re-deployed, the offset manager reads the offsets from kafka broker (if initial offsets are *not* provided) for each partition the module is configured to listen. If the initial offset values are provided for the stream, then I think the offset manager should delete the offsets from the XD offset topic only when the stream is *destroyed*. Since we want to re-use the offset topic data upon stream undeploy/re-deploy.
Story points: 5