This page lists the knowlg jobs' specific kafka topic, functionality configurations, sample event and dependencies (if any).
Configuration of all knowledge-platform-jobs during the time of deployment is referred from sunbird-learning-platform repository. However, configuration for local setup is referred from respective job folders in knowledge-platform-jobs repository.
Used to specify the path of context Mapping file. File used to specify the field mapping of context schema.jsonld to sunbird content/collection schema.json
dialcode_context_updater.identifier_search_fields
Used to specify the search fields when the content/collection details is fetched for primary category.
Used to specify the api endpoint of the DIAL service Update context API (/dialcode/v4/update)
service.search.basePath
Used to specify Search service base URL.
service.dial_service.basePath
Used to specify DIAL service base URL.
es_sync_wait_time
Used to specify wait time for collection nodes data to sync to ES after collection publish to reflect in search service results.
🌠
migrate.keyspace
Used to specify the keyspace of the cassandra database in which data is to be migrated.
migrate.table
Used to specify the table in the keyspace configured above; in which data is to be migrated.
migrate.primary_key_column
Used to specify the primay key column name of the table and the keyspace configured above; in which data is to be migrated.
migrate.primary_key_column_type
Used to specify the primay key column datatype in the table and the keyspace configured above; in which data is to be migrated.
migrate.column_to_migrate
Used to specify the name of the column to be migrated from the table and the keyspace configured above.
migrate.column_to_migrate_type
Used to specify the datatype of the column to be migrated from the table and the keyspace configured above.
migrate.key_value_strings_to_migrate
Used to specify the list of strings to be migrated in the column data.
🌠
key_value_strings_to_migrate
Used to specify the list of strings to be migrated in the fields' data.
neo4j_fields_to_migrate
Used to specify the neo4j fields which are to be migrated based on the objectType
cassandra_fields_to_migrate
Used to specify the columns of assessmentItem which are to be migrated.
hierarchy.keyspace
Used to specify the keyspace containing collection hierarchy data table
hierarchy.table
Used to specify collection hierarchy data table
content.keyspace
Used to specify the keyspace containing content data table
content.content_table
Used to specify content data table
content.assessment_table
Used to specify assessment data table
questionset.hierarchy.keyspace
Used to specify the keyspace containing question set hierarchy table.
questionset.hierarchy.table
Used to specify the question set hierarchy table
migrationVersion
Used to specify the migration version
🌠
content.bundleLocation
Used to specify local/server folder location where artifacts are to be downloaded for ECAR bundling.
Default value: "/data/contentBundle/"
content.isECARExtractionEnabled
Used to specify if the ECAR extraction is to be enabled to object 'version' and 'latest' cloud location using its 'snapshot' version.
Default value: true
content.retry_asset_download_count
Used to specify number of times download attempt for assets part of content/collection object is to be done till it is successfully downloaded.
Default value: 1
content.tmp_file_location
NOT USED
content.objectType
Used to specify list of valid objectTypes supported for publishing.
Default value: ["Content", "ContentImage"]
content.mimeType
Used to specify list of valid mimeTypes supported for publishing.
Default value: ["application/pdf"]
content.asset_download_duration
Used to specify time in seconds to wait for the asset download request to respond.
Default value: "60 seconds"
content.stream.enabled
Used to check if streaming is enabled for published objects. If it is enabled, content rendenring is done using 'streamingUrl' attribute else via 'artifactUrl'
Default value: false
content.stream.mimeType
Used to check if the mimeType of the object being published is of streamable type. If yes, event for video-stream-generator job is generated.