On this page:
   34.9    CDS Hooks 34.11    Channel Retry   

34.10Channel Import

 

The Channel Import configuration category includes the following configurable options:

  • Concurrent Consumers

  • Channel Name

  • Default mediaType

  • Channel Import ETL Script (File)

  • Channel Import ETL Script (Text)

34.10.1Property: Concurrent Consumers

 
Property Name Concurrent Consumers
Property Key
Property Type POSITIVE_INTEGER
Description The number of the concurrent consumers.
Applies to Modules
  • Channel Import
Default Value 5
Example Property
module.[MODULE_ID].config.channel.concurrent_consumers = 5

34.10.2Property: Channel Name

 
Property Name Channel Name
Property Key
Property Type STRING
Description The name of Kafka topic or ActiveMQ queue where inbound resources will be arriving.
Applies to Modules
  • Channel Import
Default Value import
Example Property
module.[MODULE_ID].config.channel.name = import

34.10.3Property: Default mediaType

 
Property Name Default mediaType
Property Key
Property Type STRING
Description If set, applies the mediaType to incoming messages that are missing the mediaType attribute. Legal values are text/plain, text/csv, application/fhir+json, application/json
Applies to Modules
  • Channel Import
Default Value (no default)
Example Property
module.[MODULE_ID].config.default_mediatype = 

34.10.4Property: Channel Import ETL Script (File)

 
Property Name Channel Import ETL Script (File)
Property Key
Property Type Resource Path
Description If set, supplies the absolute filepath of a file containing an ETL processor used for certain mimetypes in the Channel Import service.
Applies to Modules
  • Channel Import
Default Value (no default)
Example Property
module.[MODULE_ID].config.etl_script.file = 

34.10.5Property: Channel Import ETL Script (Text)

 
Property Name Channel Import ETL Script (Text)
Property Key
Property Type JAVASCRIPT
Description If set, supplies an ETL processor used for certain mimetypes in the Channel Import service.
Applies to Modules
  • Channel Import
Default Value function handleChannelImportJsonPayload(jsonObject) { throw 'not implemented!'; } function handleChannelImportStringPayload(stringPayload) { throw 'not implemented!'; }
Example Property
module.[MODULE_ID].config.etl_script.text = function handleChannelImportJsonPayload(jsonObject) {
  throw 'not implemented!';
}
function handleChannelImportStringPayload(stringPayload) {
  throw 'not implemented!';
}
   34.9    CDS Hooks 34.11    Channel Retry