kafka as a producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 05:30 AM
Hey ,
I'm trying to create kafka as a producer
My kafka app is runing on a vm
my output looks like-{"message":"yoel Test 13 to kafka","version":"1.0"}
I created a new table with 2 fields message & version
I want to import the data to this table-what are my next steps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 08:15 AM
what's your business requirement here?
If you wish to insert that data in ServiceNow then you can use Table API and ensure the field names are correct and hit the endpoint with correct API user who has create access to that table
your table API method will be PUT
JSON body will be like this
{
"field1":"field1value",
"field2":"field2value"
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 05:12 AM
I have this data on a vm
i want it to get into this table i created
how can i pull the kafka messages into the table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:12 AM
Have you completed the steps to connect ServiceNow to your Kafka environment? https://www.servicenow.com/docs/bundle/washingtondc-integrate-applications/page/administer/integrati...
Once that's completed you will need to configure a consumer in your instance to process the messages. For inserting into a table you can use a Transform map or ETL consumer. Both options are linked in the above docs page.