Skip to main content

Hello Team,

I'm doing a Proof of Concept to show the use the transformer TCPIPReceiver.

Its not necessary to read all information from Host. My question:

- has a configuration like Max Features to Read ( similar we have in Navigator ) ?

 

Thanks,

Danilo

Hi @danilo_inovacao,

From what I know and from the documentation the TCPIPReceiver will listen to a port and read the data being streamed into that specific port. If you want to set a limit of data you can read by setting the

"Number of Bytes Received Attribute" when the value reaches a certain number then you terminate your workspace with a terminator transformer. The output should be written using the featureWriter transformer.

 

Now, if you want to read a number of records, then it should be different, after decoding your data and converting them into records (or single features) and want to set a limit, you will just need to put a counter and terminate the workspace with the Terminator transformer when the counter reaches a certain number.

I hope this answers your question.


Hi @danilo_inovacao,

From what I know and from the documentation the TCPIPReceiver will listen to a port and read the data being streamed into that specific port. If you want to set a limit of data you can read by setting the

"Number of Bytes Received Attribute" when the value reaches a certain number then you terminate your workspace with a terminator transformer. The output should be written using the featureWriter transformer.

 

Now, if you want to read a number of records, then it should be different, after decoding your data and converting them into records (or single features) and want to set a limit, you will just need to put a counter and terminate the workspace with the Terminator transformer when the counter reaches a certain number.

I hope this answers your question.

Hi @gisinnovationsb, you were very clear in your explanation.

 

Thanks one more time your help. :)

 


Reply