streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steveblackmon <...@git.apache.org>
Subject [GitHub] incubator-streams pull request: STREAMS-243 | S3PersistWriter No L...
Date Tue, 09 Dec 2014 16:04:31 GMT
Github user steveblackmon commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/162#discussion_r21538191
  
    --- Diff: streams-contrib/streams-amazon-aws/streams-persist-s3/src/main/java/org/apache/streams/s3/S3PersistWriter.java
---
    @@ -249,26 +250,32 @@ public void prepare(Object configurationObject) {
             // Connect to S3
             synchronized (this) {
     
    -            // if the user has chosen to not set the object mapper, then set a default
object mapper for them.
    -            if(this.objectMapper == null)
    -                this.objectMapper = new ObjectMapper();
    +            try {
    +                // if the user has chosen to not set the object mapper, then set a default
object mapper for them.
    +                if (this.objectMapper == null)
    +                    this.objectMapper = new ObjectMapper();
    --- End diff --
    
    It ensure date-time fields are written as RFC3339 strings rather than joda json documents.
 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message