Silvia Xiao
10/15/2025, 10:25 PM"value": string as the schema, and store the flattened value to _airbyte_data through snowflake destination connector, but when I upgraded to v1.84, I got {} in _airbyte_datakapa.ai
10/15/2025, 10:25 PM{} in the _airbyte_data field after upgrading Airbyte and the Kafka source connector is a known issue that has been reported by other users. Specifically, when using the Kafka source connector with JSON format, there was a bug where the connector would output empty objects ({}) in _airbyte_data instead of the expected data. This issue was discussed and partially fixed for Avro format in version 0.2.5, but the JSON format was not fixed at that time. Users noted that the problem persisted in version 0.2.5 and were hoping for a fix in version 0.2.6 and later versions of the connector. The root cause was related to how the connector handled the deserialization and mapping of the Kafka message value to the Airbyte schema, particularly when the schema was defined as "value": string and expected to be flattened into _airbyte_data in the destination (e.g., Snowflake) [source-kafka empty messages issue](https://github.com/airbytehq/airbyte/issues/29464). If you are still experiencing this issue in v1.84, it is likely that the fix for JSON format was not yet included in your connector version, or there may be a regression. You may want to: - Check if you are using the latest version of the Kafka source connector, as fixes are released in newer versions. - Review the connector’s release notes and GitHub issues for updates on this specific bug. - Consider manually editing the connector as described in the GitHub issue if an official fix is not yet available. Unfortunately, the knowledge sources do not provide a definitive resolution for this issue in v1.84, but they confirm that this is a recognized problem with the Kafka source connector and JSON format in certain versions [source-kafka empty messages issue](https://github.com/airbytehq/airbyte/issues/29464).Silvia Xiao
10/15/2025, 10:32 PMkapa.ai
10/15/2025, 10:32 PMkapa.ai
10/15/2025, 10:32 PMvalue as the key in the output data structure. This was done to address the issue of empty messages (i.e., {} in _airbyte_data). However, if you do not want the Avro message to be wrapped under a value key and instead want the Avro record to be flattened directly into _airbyte_data, the knowledge sources do not provide a configuration option or a documented way to change this behavior. The fix described in the issue was a code-level change, not a user-configurable setting. If this wrapping is not desired, you may need to: - Monitor future connector releases for an option to control this behavior. - Consider customizing the connector code if you have the resources, as the current fix is hardcoded and not exposed as a configuration. At this time, the knowledge sources do not mention a way to disable or change the use of value as the key for Avro messages in the Kafka source connector. If this is a critical requirement, you may want to open a feature request or follow up on the related GitHub issues for updates from the Airbyte team. I'm sorry, but there's no information in the knowledge sources about a user-facing option to avoid wrapping Avro messages under a value key in the current Airbyte Kafka source connector implementation. [Source: source-kafka empty messages issue](https://github.com/airbytehq/airbyte/issues/29464)Silvia Xiao
10/16/2025, 4:07 AMkapa.ai
10/16/2025, 4:07 AMkapa.ai
10/16/2025, 4:07 AMdiscover command returns a schema (the json_schema), but the actual messages emitted by the read method do not conform to that schema, Airbyte may encounter validation errors. The data in each AirbyteRecordMessage must conform to the schema defined in the corresponding AirbyteStream. If a field is present in the data but not in the schema, or if a required field is missing, or if the data type does not match, this can cause issues. For example, if a property is found to be null but the schema does not allow null, a validation error may occur, and the destination may have trouble storing the record. Airbyte expects the top-level object and all its fields to conform to the declared type system in the schema. If there is a mismatch, the platform or the destination may reject the data or fail to store it properly. However, the protocol is designed to be resilient and should not fail entirely due to a mismatch; it may simply ignore unknown fields or not replicate missing ones, but schema validation errors can still occur if the mismatch is significant (e.g., type errors or missing required fields) [Data Types in Records](https://docs.airbyte.com/platform/1.7/understanding-airbyte/supported-data-types#record-structure), [Schema Mismatches](https://docs.airbyte.com/platform/1.7/understanding-airbyte/airbyte-protocol#schema-mismatches). In summary: - If the data does not match the schema, Airbyte may reject the data or raise validation errors. - Minor mismatches (like extra or missing fields) may be ignored, but type mismatches or missing required fields can cause errors. If you need strict schema enforcement, ensure your emitted records always match the schema returned by discover.