streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steveblackmon <>
Subject [GitHub] incubator-streams pull request: Streams 142
Date Wed, 13 Aug 2014 15:30:52 GMT
Github user steveblackmon commented on a diff in the pull request:
    --- Diff: streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/processor/
    @@ -0,0 +1,62 @@
    +package org.apache.streams.datasift.processor;
    +import com.fasterxml.jackson.databind.JsonNode;
    +import com.fasterxml.jackson.databind.ObjectMapper;
    +import com.fasterxml.jackson.databind.node.ObjectNode;
    +import com.fasterxml.jackson.datatype.jsonorg.JsonOrgModule;
    +import org.apache.streams.core.StreamsDatum;
    +import org.apache.streams.core.StreamsProcessor;
    +import org.apache.streams.jackson.StreamsJacksonMapper;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +import java.util.Iterator;
    +import java.util.List;
    +import java.util.Map;
    + * HACK PROCESSOR.  Changes need to be made in apache streams to fix this issue long
    --- End diff --
    I've observed a lot of unwanted serialization artifacts from this module, most of which
can be fixed by including this processor.  Now that the logic for fixing those artifacts is
part of the module, the situation has improved - the long term concern is that it is too easy
to overuse/misuse jackson, compounded when working with objects from third-party projects
that were built for projects other than Apache Streams.  I don't have a good answer to propose
at the moment - just wanted a note to designate that the class shouldn't be needed and should
be deleted once the root cause is isolated and corrected.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message