Customer Portal

Mongo db updation with stream/discrete json data

Comments 1

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi sidharth,

    If your JsonWriter composes result from single record then you can use following approach:

    json_writer_consuming_1_record.png

    (Copy of record is passed through JsonWriter and second copy directly into Combine where you can generate composed record [guid, json_content] and use that in Input Mapping of MongoDbWriter)

    If your JsonWriter composes result from multiple records then you can use this approach:

    json_writer_consuming_many_records.png.png

    (Because Combine needs 1:1 streams you need to compose Json first, pass copy to combine and extract guid using JsonExtract, again in Combine you build composed record [guid, json_content] and pass into Mongo)

    I hope this helps

Please sign in to leave a comment.