Forum Discussion

Kelderic's avatar
Kelderic
Helper I
4 months ago
Solved

Event Schema Inside Eventstream Never Matching

I am exploring the new Event Schemas as a way to pre-define my schemas and replace the multiple-schema inferencing. I have created a Event Schema Set, with three Event Schemas, all very simple with five or less columns each.

 

In the screenshot above, one schema shows two fields."TermsCode" and "Description", both string.

 

I've created a new Event Stream, and associated it with the event schemas:

 

I then pushed in data, which in the preview, shows the correct matching headers. But the data is only seen as "Unknown schema":

 

 

 

Has anyone gotten event schemas to work?

 

Edit: I am using the new Event Schemas system, rather than Multiple Schema Inferencing. These are different and exclusionary. I have event streams working with inferred multi-schema and I'm trying to switch to defined event schemas.

  • Kelderic's avatar
    Kelderic
    4 months ago

    Gotcha. Appreciate that.

     

    Turns out though, the issue isn't a mismatch. As I suspected, the fields match. The problem is that I am not sending the required headers, which unfortunately are not yet documented by Microsoft. The Event Schemas use the Cloud Events spec, so we need to send ce_type and a few others. My contact at MS is working on getting a list of which headers are required.

  • Okay so for anyone else stumbling on this. If you are trying to use Event Schemas inside event streams, you basically can't yet. There are HTTP headers that are required, and they are currently undocumented. I am working with Microsoft now to get a list of the required headers, and I'll update this post when I get that.

6 Replies