简体   繁体   English

如何在 Informatica Data Hub 中过滤属性

[英]How to filter attributes in Informatica Data Hub

I'm using for a project for the very first time Informatica Data Hub.我第一次将 Informatica Data Hub 用于一个项目。 We are using it to connect some sources with target systems in a publisher/subscription mode.我们正在使用它以发布者/订阅模式将一些源与目标系统连接起来。 Now, we have a requirement to create a filter process to meet the following requirements:现在,我们需要创建一个过滤流程来满足以下要求:

  • Filter option for data based on attributes.基于属性的数据过滤选项。 Some subscribers will only get specific data from the topics.一些订阅者只会从主题中获取特定数据。
  • Filter option which attributes are shown in the subscription.筛选选项哪些属性显示在订阅中。 Some subscribers will only get specific attributes from each topic.一些订阅者只会从每个主题中获得特定的属性。

I'm reading documentation of Informatica, and I know how to add filtering options using PowerCenter expressions for attributes using the subscription properties.我正在阅读 Informatica 的文档,并且知道如何使用 PowerCenter 表达式为使用订阅属性的属性添加过滤选项。 However, I cannot find anything regarding point c, how can I make that a specific subscription is only consuming specific attributes of a topic?但是,我找不到关于 c 点的任何信息,我怎样才能使特定订阅仅消耗主题的特定属性?

Attributes can be filtered using filter transformation.可以使用过滤器转换过滤属性。

When you get the messages from the topic, either in json/ csv format, each attribute of a topic will have an identifier, technically a column name.当您从主题获取消息时,无论是 json/ csv 格式,主题的每个属性都会有一个标识符,技术上是一个列名。 Get the messages from the topic and pass it through an expression transformation where you can align all the identifiers.从主题中获取消息并将其传递给表达式转换,您可以在其中对齐所有标识符。 Then pass the pipeline to the filter transformation and filter out the records as required and pass it to the target.然后将管道传递给过滤器转换并根据需要过滤掉记录并将其传递给目标。

If you provide example of few messages from the topic, can help you in detail on this如果您提供来自该主题的几条消息的示例,可以详细帮助您

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM