For OH3 you must use a 3rd party MQTT Broker such as Mosquitto, installed outside of openHAB.
You then configure a Bridge Thing (mqtt:broker
) and configure it so it connects to your external broker.
See here to follow these steps in action.
The openHAB system MQTT broker/bridge has been completely removed.