Caideyipi opened a new pull request, #19342:
URL: https://github.com/apache/iotdb/pull/19342
## Summary
- Add the `realtime.mode` topic property with `stream` as the default and
`batch` as an option.
- Propagate the configured mode through subscription Pipe creation so
DataNodes select the corresponding real-time source.
- Validate the property for topic creation and alteration, including
incremental-topic restrictions.
## Example
```sql
CREATE TOPIC topic_batch WITH ('realtime.mode'='batch');
```
Subscriptions using `topic_batch` select the batch real-time source. Topics
without this property retain the default stream behavior.
## Testing
- `TopicMetaTest`: 2 tests passed.
- The full reactor `test-compile` reached distribution, then failed
resolving SNAPSHOT distribution artifacts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]