You are, of course, correct; the adapter only needs the publisher if a connection factory was not injected.

Squashed and pushed.