Project: springxd
Issue XD-1650: Update HDFS sink to accept a partition strategy
Add configuration for the partition strategy to HDFS sink to support writing files into subdirectories based on a partition key provided in the header or field in the message of the stream data. The writing using HDFS Store DataWriter should pass in the partition key value to be used for the write operation. Partition configuration could be made available to the sink using a --format parameter: that could then be used in XML config like: {code}       expression="new java.text.SimpleDateFormat('${format}').format(${timestamp}) {code} Similar to the time source.
Story points: 8