In the streamMap definition, the serviceName element maps a column in the Event Stream Processor source stream to the service identifier that the adapter provides.
adapter                                      (required, limit one)
  |----publication                           (required, limit one)
  |----streamMaps                            (required, limit one)
  |      '----streamMap                      (required)
  |             |----dataField               (required)
  |             |----hiResTimestampField     (optional)
  |             |----imageField              (required for L2 data)
  |             |----itemName                (required, limit one)
  |             |----itemStale               (optional)
  |             |----marketByOrderKeyField   (required)
  |             |----marketByPriceKeyField   (required)
  |             |----marketMakerKeyField     (required)
  |             |----nullField               (optional)
  |             |----respTypeNumField        (optional)
  |             |----sequenceNumber          (optional)
  |             |----serviceName             (optional)
  |             '----updateNumber            (optional)
  |----rfa                                   (required, limit one)
  '----itemLists                             (required, limit one)
         '----itemList                       (required)
                '----item                    (optional)
The identifier provided by serviceName can potentially be used to provide namespace scope for a RIC that was provided by two different services to which you subscribed.
streamMap
None
| Name | Description | Requirement | 
|---|---|---|
| key | true or false, depending on whether this column is part of the source stream's unique key | see Notes | 
You must use the key attribute to set the value to true. If this column is not part of the stream's key, you can omit this attribute.
<streamMap name="marketByOrderStream">
        <itemName key="true"/>
        <!-- serviceName / -->
        <sequenceNumber />
        <itemStale/>
        <dataField name="BID"/>
        <dataField name="ASK"/>
        <dataField name="TRDPRC_1"/>
        <dataField name="ACVOL_1"/>
        <dateTimeField timeName="TIMACT" dateName="ACTIV_DATE"/>
</streamMap>
In this example, no column of the source stream is mapped to the service name provided by the adapter because it is commented out.