BewareMyPower opened a new pull request #7771:
URL: https://github.com/apache/pulsar/pull/7771
### Motivation
Adding a subdirectory associated with current time willmake it easier to
process HDFS files in batch.
For example, user can create multiple running sink instances with
`yyyy-MM-dd-hh` pattern. Then stop all instances at next hour. Eventually,
files of the subdirectory will contain all messages consumed during this hour.
### Modifications
- Add a `subdirectoryPattern` field to `HdfsSinkConfig`
- Update some simple tests for `HdfsSinkConfig`
- Update the doc of HDFS2 sink
### Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (docs)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]