The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Brad Collins (21) [Avatar] Offline
Section 6.2.2, under the heading PIECING IT TOGETHER, contains this paragraph (emphasis mine, BSC):

We saw in Chapter 5 how we can change specific details of an actor’s deployment through the
use of Props which we pass into the actor system when we want to spawn an actor. We can
choose to specify the supervisor strategy on the Props such that it’s decided by the actor
responsible for deploying it. In the example below, we choose to specify the supervisor
strategy as part of the Props. If we’ve got a simple actor responsible for communicating with a
database called a DatabaseCommunicationActor, we can create the Props for it by using the
Create factory method. Once we’ve got the basic Props responsible for creating the actor, we
use the fluent API to create a new Props object with the supervisor strategy on it. The
supervisor strategy is declared exactly the same as in the previous example.

... but Figure 6.10 that follows creates a Props based on AnomalyDetector instead of a DatabaseCommunicationActor. This appears to be a mismatch.