component

2018-07-25T11:15:42.000157Z

With a system map, when u have system using, how do you know which component will be started first and last?

2018-07-25T12:44:56.000056Z

I don't think it should matter as long as all your dependencies are declared

2018-07-25T12:45:20.000060Z

why would you have an ordering requirement that doesn't correspond to a dependency?

2018-07-25T12:45:51.000374Z

(even if you do, you could add an artificial dependency to enforce the ordering)

2018-07-25T12:48:50.000040Z

I have a builder which starts first, then a stream that starts next, which both go into a topology. I think that as the topology has the most deps it will start later, is that correct?

2018-07-25T12:49:10.000030Z

>why would you have an ordering requirement that doesn’t correspond to a dependency? I’m not sure what you mean sorry

2018-07-25T12:49:29.000248Z

I think i haven’t understood the concept of the component starting vs ordering correctly

2018-07-25T12:51:14.000303Z

@gfredericks ^

2018-07-25T12:54:13.000094Z

if component A depends (in the system/using sense) on component B, then component B will always start first

2018-07-25T12:54:33.000332Z

when the start function is called on a component, all its dependencies are present and have already started

2018-07-25T13:04:24.000414Z

Got ya thanks very much

2018-07-25T13:04:40.000079Z

I sort of knew that, but didnt know it if thats makes sense haha

2018-07-25T13:04:54.000158Z

Thanks again!