<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Modify Attunity Envelope to adhere to CloudEvents Specification in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1690940#M124</link>
    <description>&lt;P&gt;Hi Guys:&lt;/P&gt;&lt;P&gt;We would like to know what is the best approach to modify the Attunity Envelope sent by the Qlik Replicate to adhere to some of the principles of the CloudEvents 1.0 specification.&amp;nbsp;&lt;A href="https://cloudevents.io/" target="_blank"&gt;https://cloudevents.io/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Cloud Events Specification seems to be very flexible and some of the fields included at the Attunity Envelope comply to it. This is the&amp;nbsp;Attunity Envelope in YAML for readability purposes (Please imagine this is a JSON file)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: record
name: MessageEnvelope
fields:
    - name: magic
      type: fixed
      size: 5
    - name: type
      type: string
    - name: headers
      type: map
      values: string
    - name: messageSchemaId
      type: string
    - name: messageSchema
      type: string
    - name: message
      type: bytes&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of the Cloud Events Specification 1.0 in YAML.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;specversion: '1.0'
type: com.example.someevent
source: /mycontext
id: C234-1234-1234
time: '2018-04-05T17:31:00Z'
comexampleextension1: value
comexampleothervalue: 5
datacontenttype: application/json
data:
    appinfoA: abc
    appinfoB: 123
    appinfoC: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On our understanding, this is similar to the envelope&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: record
name: MessageEnvelope
fields:
    - name: specversion
      type: string
    - name: type
      type: string
    - name: source
      type: string
    - name: time
      type: timestamp
      value: '2018-04-05T17:31:00Z'
    - name: comexampleextension1 # This is extension
      type: string
      value: value
    - name: comexampleothervalue
      type: string
      value: 5
    - name: id
      type: string
    - name: datacontenttype
      type: string
      value: application/json
    - name: data
      type: json
      data:
        appinfoA: abc
        appinfoB: 123
        appinfoC: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to reformulate the question, what is the best approach to extend the Message Envelope from Qlik Replicate to accommodate the fields from the Cloud Events specifications which are not found. This is very useful as it would allow to simplify the monitoring among other things.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Gonzalo Pérez-Prim&lt;/P&gt;</description>
    <pubDate>Sat, 04 Apr 2020 10:50:51 GMT</pubDate>
    <dc:creator>GonzaloPerezPrim</dc:creator>
    <dc:date>2020-04-04T10:50:51Z</dc:date>
    <item>
      <title>Modify Attunity Envelope to adhere to CloudEvents Specification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1690940#M124</link>
      <description>&lt;P&gt;Hi Guys:&lt;/P&gt;&lt;P&gt;We would like to know what is the best approach to modify the Attunity Envelope sent by the Qlik Replicate to adhere to some of the principles of the CloudEvents 1.0 specification.&amp;nbsp;&lt;A href="https://cloudevents.io/" target="_blank"&gt;https://cloudevents.io/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The Cloud Events Specification seems to be very flexible and some of the fields included at the Attunity Envelope comply to it. This is the&amp;nbsp;Attunity Envelope in YAML for readability purposes (Please imagine this is a JSON file)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: record
name: MessageEnvelope
fields:
    - name: magic
      type: fixed
      size: 5
    - name: type
      type: string
    - name: headers
      type: map
      values: string
    - name: messageSchemaId
      type: string
    - name: messageSchema
      type: string
    - name: message
      type: bytes&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an example of the Cloud Events Specification 1.0 in YAML.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;specversion: '1.0'
type: com.example.someevent
source: /mycontext
id: C234-1234-1234
time: '2018-04-05T17:31:00Z'
comexampleextension1: value
comexampleothervalue: 5
datacontenttype: application/json
data:
    appinfoA: abc
    appinfoB: 123
    appinfoC: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On our understanding, this is similar to the envelope&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type: record
name: MessageEnvelope
fields:
    - name: specversion
      type: string
    - name: type
      type: string
    - name: source
      type: string
    - name: time
      type: timestamp
      value: '2018-04-05T17:31:00Z'
    - name: comexampleextension1 # This is extension
      type: string
      value: value
    - name: comexampleothervalue
      type: string
      value: 5
    - name: id
      type: string
    - name: datacontenttype
      type: string
      value: application/json
    - name: data
      type: json
      data:
        appinfoA: abc
        appinfoB: 123
        appinfoC: true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to reformulate the question, what is the best approach to extend the Message Envelope from Qlik Replicate to accommodate the fields from the Cloud Events specifications which are not found. This is very useful as it would allow to simplify the monitoring among other things.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Gonzalo Pérez-Prim&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 10:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1690940#M124</guid>
      <dc:creator>GonzaloPerezPrim</dc:creator>
      <dc:date>2020-04-04T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Attunity Envelope to adhere to CloudEvents Specification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1692704#M139</link>
      <description>&lt;P&gt;Hello Gonzalo,&lt;/P&gt;&lt;P&gt;Your question requires research on our end. We are in touch with the team who can answer this question and they will respond shortly.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 18:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1692704#M139</guid>
      <dc:creator>Ola_Mayer</dc:creator>
      <dc:date>2020-04-10T18:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Attunity Envelope to adhere to CloudEvents Specification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1693103#M142</link>
      <description>&lt;P&gt;Hi Gonzalo,&lt;/P&gt;&lt;P&gt;We do not easily support direct production of CloudEvents specification and it may be supported as a built-in option in the future if the format becomes prevalent. But we still allow those message manipulations using mainly a combination of two of our features:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Global and Table levels transformation: for adding/removing/renaming target columns, dynamically values as well as fix attributes.&lt;/LI&gt;&lt;LI&gt;Custom Message formatting: where you can flatten our message headers and data fields, can change names like “data”, include/exclude headers and more.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Eyal Silner,&lt;/P&gt;&lt;P&gt;BigData Technical Product Manager of Qlik Replicate.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 21:32:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Modify-Attunity-Envelope-to-adhere-to-CloudEvents-Specification/m-p/1693103#M142</guid>
      <dc:creator>EyalSilner</dc:creator>
      <dc:date>2020-04-13T21:32:06Z</dc:date>
    </item>
  </channel>
</rss>

