Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The file reader is very simple example of file based interface. If you have not done so already please have a read of A brief history of Iguana to understand the design philosophy here.

 The configuration interface

There are three parameters:

  • The source directory which reader will poll looking for files in it.

  • A matching expression which matches the files to consume

  • How frequently to poll the directory - in seconds

 How does it behave?

The component behaves very simply. After a file is read and consumed by pushing the contents into a queue it is deleted.

The component logs this activity to the logs.

 It does not do what I want to do!

It’s not really intended to be all things to everyone. It is however a very simple starting point to open up and customize to what you really need.

You can see the source code for it right here:

https://bitbucket.org/interfaceware/fromfile/src/main/main.lua

It’s deliberately simple to make the code non intimidating to alter and customize.

 Argh I need help !!

Reach out! Lets talk about what you need to do.

We are here to help.

We are genuinely interested in getting a real understanding of the kinds of problems that customers need to solve.

There are a variety of ways we might help you.

  • It could be by improving our educational resources around using Lua.

  • Perhaps there is a real repeatable need which may make it sensible to build a new component

 How does this work out in the long run?

In the long run we expect larger customers operating at scale will probably find it benefits them to curate their own ‘standard’ component set.

These are components which mean their typical needs based on the needs of their organization.

We also expect there will be areas where we develop new components that fit well defined common use cases. Cases that meet the needs of thousands of interfaces.

Hope that helps and do free to reach out and talk with us.

  • No labels