We study a production-inventory system in which input is deterministic, and its rate is the controlled parameter. The output is a compound Poisson process with exponential jump-size distribution. The parameters of the output process are unknown. The following adaptive policy is used: At each time t the unknown parameters are estimated by maximum likelihood method and the input rate which would be optimal if these were the true values of the parameter is used. The issues investigated are (1) the convergence of maximum likelihood estimates to the true value, and (2) the asymptotic properties of the cost under the adaptive policy.