Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-505

Message Digest decorator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3
    • None
    • None

    Description

      It was suggested in another bug that it would be nice to be able to add an event attribute which contains the MD5 sum of the event body.

      My suggestion here would be a DigestDecorator, exposed as 'digest' with 2 configuration parameters:

      algorithm: MD5, SHA1 (list in http://download.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html#MessageDigest)
      attribute name: the attribute to store the message digest in

      This can just use the standard java.security.MessageDigest

      Attachments

        Activity

          People

            brucem Bruce Mitchener
            brucem Bruce Mitchener
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: